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.
- Loading branch information
Showing
3 changed files
with
37 additions
and
27 deletions.
There are no files selected for viewing
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-list\n@category list\n@tutorial react/Reference/list\n@description\n [en]\n Component for representing a list. It takes an array called datasrouce and calls renderRow(row, index) for every row. Furthermore, the header and the footer can be specified with `renderRow` and `renderHeader` respectivly. [/en]\n[jp][/jp]\n@example\n <List\n dataSource={['Row 1', 'Row 2']}\n renderHeader={this.renderHeader}\n renderRow={(row, idx) => (\n <ListItem modifier={idx === this.state.data.length - 1 ? 'longdivider' : null}>\n {row}\n <Button modifier=\"quiet\" onClick={this.remove.bind(this, idx)}>Remove</Button>\n </ListItem>\n )}\n renderFooter={this.renderFooter}\n />","methods":[],"props":{"modifier":{"type":{"name":"string"},"required":false,"description":"@name modifier\n@type string\n@description\n [en]\n Specify modifier name to specify custom styles.\n [/en]\n [jp] どうしよう[/jp]"},"dataSource":{"type":{"name":"array"},"required":true,"description":"@name dataSource\n@type string\n@description\n [en]\n Specify modifier name to specify custom styles.\n [/en]\n [jp] どうしよう[/jp]"},"renderRow":{"type":{"name":"func"},"required":true,"description":"@name renderRow\n@type function\n@description\n [en]\n Function to specify the rendering function for every element in\n in the dataSouce.\n [/en]\n [jp] どうしよう[/jp]"},"renderHeader":{"type":{"name":"func"},"required":false,"description":"@name renderHeader\n@type function\n@description\n [en]\n Function to specify the rendering function for the header\n [/en]\n [jp] どうしよう[/jp]","defaultValue":{"value":"() => null","computed":false}},"renderFooter":{"type":{"name":"func"},"required":false,"description":"@name renderFooter\n@type function\n@description\n [en]\n Function to specify the rendering function for the footer\n [/en]\n [jp] どうしよう[/jp]","defaultValue":{"value":"() => null","computed":false}}}} | ||
{"description":"@original ons-list\n@category list\n@tutorial react/Reference/list\n@description\n [en]\n Component for representing a list. It takes an array called datasrouce and calls renderRow(row, index) for every row. Furthermore, the header and the footer can be specified with `renderRow` and `renderHeader` respectivly. [/en]\n[jp][/jp]\n@example\n <List\n dataSource={['Row 1', 'Row 2']}\n renderHeader={this.renderHeader}\n renderRow={(row, idx) => (\n <ListItem modifier={idx === this.state.data.length - 1 ? 'longdivider' : null}>\n {row}\n <Button modifier=\"quiet\" onClick={this.remove.bind(this, idx)}>Remove</Button>\n </ListItem>\n )}\n renderFooter={this.renderFooter}\n />","methods":[],"props":{"modifier":{"type":{"name":"string"},"required":false,"description":"@name modifier\n@type string\n@description\n [en]\n Specify modifier name to specify custom styles.\n [/en]\n [jp] どうしよう[/jp]"},"dataSource":{"type":{"name":"array"},"required":true,"description":"@name dataSource\n@type string\n@description\n [en]\n Source of the list data. Should be an array.\n [/en]\n [jp] どうしよう[/jp]"},"renderRow":{"type":{"name":"func"},"required":true,"description":"@name renderRow\n@type function\n@description\n [en]\n Function to specify the rendering function for every element in\n in the dataSouce.\n [/en]\n [jp] どうしよう[/jp]"},"renderHeader":{"type":{"name":"func"},"required":false,"description":"@name renderHeader\n@type function\n@description\n [en]\n Function to specify the rendering function for the header\n [/en]\n [jp] どうしよう[/jp]","defaultValue":{"value":"() => null","computed":false}},"renderFooter":{"type":{"name":"func"},"required":false,"description":"@name renderFooter\n@type function\n@description\n [en]\n Function to specify the rendering function for the footer\n [/en]\n [jp] どうしよう[/jp]","defaultValue":{"value":"() => null","computed":false}}}} |