mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(): update modal and searchbar docs
* docs(input): fix typo * docs(scroll): add note about required CSS for scrollY * docs(config): add swipeBackEnabled to config properties list * docs(component generator): fix broken link in template comment * docs(directive generator): fix broken link in template comment * docs(modal): add that modal is not reusable * docs (searchbar): update description of debounce
This commit is contained in:
committed by
Mike Hartington
parent
cd53722bc4
commit
45ea189fa2
@@ -70,7 +70,8 @@ export class Modal extends ViewController {
|
||||
* After the modal has been presented, from within the component instance The
|
||||
* modal can later be closed or "dismissed" by using the ViewController's
|
||||
* `dismiss` method. Additionally, you can dismiss any overlay by using `pop`
|
||||
* on the root nav controller.
|
||||
* on the root nav controller. Modals are not reusable. When a modal is dismissed
|
||||
* it is destroyed.
|
||||
*
|
||||
* Data can be passed to a new modal through `Modal.create()` as the second
|
||||
* argument. The data can then be accessed from the opened page by injecting
|
||||
|
||||
@@ -80,7 +80,7 @@ export class Searchbar extends Ion {
|
||||
@Input() showCancelButton: any = false;
|
||||
|
||||
/**
|
||||
* @input {number} How long, in milliseconds, to wait to trigger the `input` event after each keystroke. Default `250`.
|
||||
* @input {number} How long, in milliseconds, to wait to trigger the `ionInput` event after each keystroke. Default `250`.
|
||||
*/
|
||||
@Input()
|
||||
get debounce(): number {
|
||||
|
||||
Reference in New Issue
Block a user