From 117003e9e46adc088323bbcc1e40a57d88b518e3 Mon Sep 17 00:00:00 2001 From: Joe Woodhouse Date: Tue, 30 May 2017 16:37:05 +0100 Subject: [PATCH] docs(searchbar): add default values for inputs (#11856) Complete missing defaults for animated and showCancelButton. --- src/components/searchbar/searchbar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/searchbar/searchbar.ts b/src/components/searchbar/searchbar.ts index 8313601f44..6467c2d3fe 100644 --- a/src/components/searchbar/searchbar.ts +++ b/src/components/searchbar/searchbar.ts @@ -72,7 +72,7 @@ export class Searchbar extends BaseInput { @Input() cancelButtonText: string = 'Cancel'; /** - * @input {boolean} If true, show the cancel button. + * @input {boolean} If true, show the cancel button. Default `false`. */ @Input() get showCancelButton(): boolean { @@ -129,7 +129,7 @@ export class Searchbar extends BaseInput { @Input() type: string = 'search'; /** - * @input {boolean} If true, enable searchbar animation. + * @input {boolean} If true, enable searchbar animation. Default `false`. */ @Input() get animated(): boolean {