This repository has been archived by the owner on Mar 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:argelius/react-onsenui
- Loading branch information
Showing
54 changed files
with
722 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"description":"@original ons-lazy-repeat\n@category lazy-list\n@description\n[en] Using this component a list with millions of items can be rendered without a drop in performance.\n It does that by \"lazily\" loading elements into the DOM when they come into view and\n removing items from the DOM when they are not visible.\n [/en]\n[jp][/jp]\n@example\n\n renderRow(index) {\n return (\n <ListItem key={index}>\n {'Item ' + (index + 1)}\n </ListItem>\n );\n }\n\n render() {\n return (\n <Page renderToolbar={() => <MyToolbar title='LazyList' />} >\n <div style={{height: 100}}>\n <LazyList\n length={1000}\n renderRow={() =>\n <ListItem key={index}>\n {'Item ' + (index + 1)}\n </ListItem>\n }\n calculateItemHeight={() => 44}\n />\n </div>\n </Page>\n );\n }\n}","methods":[],"props":{"modifier":{"type":{"name":"string"},"required":false,"description":"@name modifier\n@type string\n@required false\n@description\n [en]The appearance of the lazy list.[/en]\n [jp] [/jp]"},"length":{"type":{"name":"number"},"required":true,"description":"@name length\n@type number\n@description\n [en]The length of the list.[/en]\n [jp] [/jp]"},"renderRow":{"type":{"name":"func"},"required":true,"description":"@name renderRow\n@type function\n@description\n [en] A function given the index of the to display row, renders it.[/en]\n [jp] [/jp]"},"calculateItemHeight":{"type":{"name":"func"},"required":true,"description":"@name calculateItemHeight\n@type function\n@description\n [en] A function given the index of the to row, returns the height of it.[/en]\n [jp] [/jp]"}}} | ||
{"description":"@original ons-lazy-repeat\n@category lazy-list\n@description\n[en] Using this component a list with millions of items can be rendered without a drop in performance.\n It does that by \"lazily\" loading elements into the DOM when they come into view and\n removing items from the DOM when they are not visible.\n [/en]\n[jp][/jp]\n@example\n\n renderRow(index) {\n return (\n <ListItem key={index}>\n {'Item ' + (index + 1)}\n </ListItem>\n );\n }\n\n render() {\n return (\n <Page renderToolbar={() => <MyToolbar title='LazyList' />} >\n <div style={{height: 100}}>\n <LazyList\n length={1000}\n renderRow={() =>\n <ListItem key={index}>\n {'Item ' + (index + 1)}\n </ListItem>\n }\n calculateItemHeight={() => 44}\n />\n </div>\n </Page>\n );\n }\n}","methods":[{"name":"update","docblock":null,"modifiers":[],"params":[{"name":"props","type":null}],"returns":null}],"props":{"modifier":{"type":{"name":"string"},"required":false,"description":"@name modifier\n@type string\n@required false\n@description\n [en]The appearance of the lazy list.[/en]\n [jp] [/jp]"},"length":{"type":{"name":"number"},"required":true,"description":"@name length\n@type number\n@description\n [en]The length of the list.[/en]\n [jp] [/jp]"},"renderRow":{"type":{"name":"func"},"required":true,"description":"@name renderRow\n@type function\n@description\n [en] A function given the index of the to display row, renders it.[/en]\n [jp] [/jp]"},"calculateItemHeight":{"type":{"name":"func"},"required":true,"description":"@name calculateItemHeight\n@type function\n@description\n [en] A function given the index of the to row, returns the height of it.[/en]\n [jp] [/jp]"}}} |
Oops, something went wrong.