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
11 additions
and
5 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-modal\n@category modal\n@tutorial react/Reference/modal\n@description\n[en]\n A modal component covers the entire screen. Underlying components are not\n subject to any events while the modal component is shown.\n\n This component can be used to block user input while some operation is\n running or to show some information to the user.\n[/en]\n[jp]\n 画面全体をマスクするモーダル用コンポーネントです。下側にあるコンポーネントは、\n モーダルが表示されている間はイベント通知が行われません\n[/jp]\n@example\n <Page\n renderModal={() => (\n <Modal isOpen={this.state.isLoading}>\n Loading ...\n </Modal>\n )}>\n <div> Page content </div>\n </Page>","methods":[{"name":"_update","docblock":null,"modifiers":[],"params":[{"name":"props","type":null},{"name":"isOpen","type":null}],"returns":null}],"props":{"animation":{"type":{"name":"enum","value":[{"value":"'none'","computed":false},{"value":"'fade'","computed":false}]},"required":false,"description":"@property animation\n@type {String}\n@description\n [en]\n Animation name. Available animations are `\"slide\"`, `\"lift\"`, `\"fade\"` and `\"none\"`.\n These are platform based animations. For fixed animations, add `\"-ios\"` or `\"-md\"` suffix to the animation name. E.g. `\"lift-ios\"`, `\"lift-md\"`. Defaults values are `\"slide-ios\"` and `\"fade-md\"`.\n [/en]","defaultValue":{"value":"'none'","computed":false}},"animationOptions":{"type":{"name":"object"},"required":false,"description":"@name animationOptions\n@type object\n@description\n [en]Specify the animation's duration, delay and timing. E.g. `{duration: 0.2, delay: 0.4, timing: 'ease-in'}`.[/en]"},"onShow":{"type":{"name":"func"},"required":false,"description":"@name onShow\n@type function\n@required false\n@description\n [en]\n Called Fired right after the modal is shown.\n [/en]"},"onHide":{"type":{"name":"func"},"required":false,"description":"@name onHide\n@type function\n@required false\n@description\n [en]\n Called after the modal is hidden.\n [/en]"},"isOpen":{"type":{"name":"bool"},"required":false,"description":"@name isOpen\n@type boolean\n@description\n [en]When `true` the modal will show itself.[/en]","defaultValue":{"value":"false","computed":false}}}} | ||
{"description":"@original ons-modal\n@category dialog\n@tutorial react/Reference/modal\n@description\n[en]\n A modal component covers the entire screen. Underlying components are not\n subject to any events while the modal component is shown.\n\n This component can be used to block user input while some operation is\n running or to show some information to the user.\n[/en]\n[jp]\n 画面全体をマスクするモーダル用コンポーネントです。下側にあるコンポーネントは、\n モーダルが表示されている間はイベント通知が行われません\n[/jp]\n@example\n <Page\n renderModal={() => (\n <Modal isOpen={this.state.isLoading}>\n Loading ...\n </Modal>\n )}>\n <div> Page content </div>\n </Page>","methods":[{"name":"_update","docblock":null,"modifiers":[],"params":[{"name":"props","type":null},{"name":"isOpen","type":null}],"returns":null}],"props":{"animation":{"type":{"name":"enum","value":[{"value":"'none'","computed":false},{"value":"'fade'","computed":false}]},"required":false,"description":"@property animation\n@type {String}\n@description\n [en]\n Animation name. Available animations are `\"slide\"`, `\"lift\"`, `\"fade\"` and `\"none\"`.\n These are platform based animations. For fixed animations, add `\"-ios\"` or `\"-md\"` suffix to the animation name. E.g. `\"lift-ios\"`, `\"lift-md\"`. Defaults values are `\"slide-ios\"` and `\"fade-md\"`.\n [/en]","defaultValue":{"value":"'none'","computed":false}},"animationOptions":{"type":{"name":"object"},"required":false,"description":"@name animationOptions\n@type object\n@description\n [en]Specify the animation's duration, delay and timing. E.g. `{duration: 0.2, delay: 0.4, timing: 'ease-in'}`.[/en]"},"onShow":{"type":{"name":"func"},"required":false,"description":"@name onShow\n@type function\n@required false\n@description\n [en]\n Called Fired right after the modal is shown.\n [/en]"},"onHide":{"type":{"name":"func"},"required":false,"description":"@name onHide\n@type function\n@required false\n@description\n [en]\n Called after the modal is hidden.\n [/en]"},"isOpen":{"type":{"name":"bool"},"required":false,"description":"@name isOpen\n@type boolean\n@description\n [en]When `true` the modal will show itself.[/en]","defaultValue":{"value":"false","computed":false}}}} |