docs(searchbar): add default values for inputs (#11856)

Complete missing defaults for animated and showCancelButton.
This commit is contained in:
Joe Woodhouse
2017-05-30 16:37:05 +01:00
committed by Brandy Carney
parent 041689b5f5
commit 117003e9e4

View File

@ -72,7 +72,7 @@ export class Searchbar extends BaseInput<string> {
@Input() cancelButtonText: string = 'Cancel'; @Input() cancelButtonText: string = 'Cancel';
/** /**
* @input {boolean} If true, show the cancel button. * @input {boolean} If true, show the cancel button. Default `false`.
*/ */
@Input() @Input()
get showCancelButton(): boolean { get showCancelButton(): boolean {
@ -129,7 +129,7 @@ export class Searchbar extends BaseInput<string> {
@Input() type: string = 'search'; @Input() type: string = 'search';
/** /**
* @input {boolean} If true, enable searchbar animation. * @input {boolean} If true, enable searchbar animation. Default `false`.
*/ */
@Input() @Input()
get animated(): boolean { get animated(): boolean {