react-pannable
Advanced tools
Comparing version 0.4.3 to 0.4.4
{ | ||
"name": "react-pannable", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -82,13 +82,13 @@ # react-pannable | ||
| Property | Type | DefaultValue | Description | | ||
| :--------------------- | :---------------: | :----------: | :------------------------------------------------------------------------------------------------------------------ | | ||
| children | element,Component | null | Rendered content. Can be a react component class, a render function, or a rendered element.:`(pad: Pad) => element` | | ||
| width | number | 0 | The width of the bounding view. | | ||
| height | number | 0 | The height of the bounding view. | | ||
| contentWidth | number | 0 | The width of the content view. | | ||
| contentHeight | number | 0 | The height of the content view. | | ||
| scrollEnabled | boolean | true | Determines whether scrolling is enabled. | | ||
| pagingEnabled | boolean | false | Determines whether paging is enabled. | | ||
| directionalLockEnabled | boolean | false | Determines whether scrolling is disabled in a particular direction. | | ||
| onScroll | function | () => {} | Callback invoked when the content view scrolls.:`({evt: PadEvent}) => void` | | ||
| Property | Type | DefaultValue | Description | | ||
| :--------------------- | :--------------: | :----------: | :----------------------------------------------------------------------------------------- | | ||
| children | element,function | null | Rendered content. Can be a render function, or a rendered element.:`(pad: Pad) => element` | | ||
| width | number | 0 | The width of the bounding view. | | ||
| height | number | 0 | The height of the bounding view. | | ||
| contentWidth | number | 0 | The width of the content view. | | ||
| contentHeight | number | 0 | The height of the content view. | | ||
| scrollEnabled | boolean | true | Determines whether scrolling is enabled. | | ||
| pagingEnabled | boolean | false | Determines whether paging is enabled. | | ||
| directionalLockEnabled | boolean | false | Determines whether scrolling is disabled in a particular direction. | | ||
| onScroll | function | () => {} | Callback invoked when the content view scrolls.:`({evt: PadEvent}) => void` | | ||
@@ -115,6 +115,7 @@ #### Public Methods | ||
| Property | Type | DefaultValue | Description | | ||
| :------- | :----: | :----------: | :------------------------------------------------------------------------------------ | | ||
| width | number | -1 | The width of the content. If you set `-1`, it fills the width of the bounding view. | | ||
| height | number | -1 | The height of the content. If you set `-1`, it fills the height of the bounding view. | | ||
| Property | Type | DefaultValue | Description | | ||
| :------- | :------: | :----------: | :------------------------------------------------------------------------------------ | | ||
| children | function | () => null | The render function passing computed width and height.:`(size: Size) => element` | | ||
| width | number | -1 | The width of the content. If you set `-1`, it fills the width of the bounding view. | | ||
| height | number | -1 | The height of the content. If you set `-1`, it fills the height of the bounding view. | | ||
@@ -121,0 +122,0 @@ ### GeneralContent |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235
302952