diff --git a/ionic/components/searchbar/searchbar.ts b/ionic/components/searchbar/searchbar.ts index bc8cea3cca..cab25ea493 100644 --- a/ionic/components/searchbar/searchbar.ts +++ b/ionic/components/searchbar/searchbar.ts @@ -18,9 +18,9 @@ import {Button} from '../button/button'; * * ``` * - * @property [placeholder] - sets input placeholder to value passed in - * @property [hideCancelButton] - hides the cancel button - * @property [cancelButtonText] - sets the cancel button text to the value passed in + * @property [placeholder] - (default: 'Search') Sets input placeholder to value passed in + * @property [hideCancelButton] - (default: false) Hides the cancel button + * @property [cancelButtonText] - (default: 'Cancel') sets the cancel button text to the value passed in * @property [cancelAction] - the function that gets called by clicking the cancel button * @see {@link /docs/v2/components#search Search Component Docs} */ diff --git a/ionic/components/searchbar/test/toolbar/main.html b/ionic/components/searchbar/test/toolbar/main.html index fd431d1e16..30683770b0 100644 --- a/ionic/components/searchbar/test/toolbar/main.html +++ b/ionic/components/searchbar/test/toolbar/main.html @@ -5,22 +5,22 @@
Search - Default Toolbar
- +
Search - Primary Toolbar
- +
Search - Danger Toolbar
- +
Search - Light Toolbar
- +