Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit465fbc1

Browse files
authored
chore: Update README.md to fix incorrect inlineSize/blockSize explanation.
fixes#104 See:- [uRO code](https://github.com/ZeeCoder/use-resize-observer/blob/master/src/index.ts#L118-L119)- [MDN example](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry#examples)
1 parentb2592d8 commit465fbc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ npm install use-resize-observer --save-dev
5656
| Name| Type| Description|
5757
| ------| -----------------------| ----------------------------------------------|
5858
| ref| RefCallback| A callback to be passed to React's "ref" prop.|
59-
| width| undefined| number| The width (or "blockSize") of the element.|
60-
| height| undefined| number| The height (or "inlineSize") of the element.|
59+
| width| undefined| number| The width (or "inlineSize") of the element.|
60+
| height| undefined| number| The height (or "blockSize") of the element.|
6161

6262
##Basic Usage
6363

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp