react-infinite-grid-scroller
Advanced tools
Comparing version 1.0.0-Beta-2.16 to 1.0.0-Beta-2.17
{ | ||
"name": "react-infinite-grid-scroller", | ||
"version": "1.0.0-Beta-2.16", | ||
"version": "1.0.0-Beta-2.17", | ||
"description": "infinite vertical or horizontal scroll using css grid layout", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -99,2 +99,3 @@ # react-infinite-grid-scroller (RIGS) | ||
|styles|object: collection of styles for scroller components|optional. These should be "passive" styles like backgroundColor. See below for details| | ||
|placeholderMessages|object: messages presented by the placeholder|optional, to replace default messages. See below for details| | ||
|callbacks|object: collection of functions for feedback, and interactions with scroller components|optional. See below for details| | ||
@@ -126,2 +127,4 @@ |technical|object: collection of values used to control system behaviour|use with caution. optional. See below for details| | ||
placeholderliner: {}, | ||
placeholdererrorframe: {}, | ||
placeholdererrorliner: {}, | ||
} | ||
@@ -136,2 +139,16 @@ ~~~ | ||
### `placeholderMessages` object | ||
Replace any of the default messages used by the placeholder. | ||
~~~typescript | ||
const placeholderMessages = { | ||
loading:'(loading...)', | ||
retrieving:'(retrieving from cache)', | ||
null:'end of list', // is returned with itemExceptionCallback | ||
undefined:'host returned "undefined"', // displayed, and returned with itemExceptionCallback | ||
invalid:'invalid React element', // displayed, and returned with itemExceptionCallback | ||
} | ||
~~~ | ||
### `callbacks` object | ||
@@ -138,0 +155,0 @@ |
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
369783
284