src/app/component/search/search.component.ts
| encapsulation | ViewEncapsulation.None |
| host | { |
| selector | stbui-search |
| styleUrls | ./search.component.scss |
| templateUrl | ./search.component.html |
Properties |
Methods |
Inputs |
Outputs |
constructor()
|
| delay | |
Type : number
|
|
Default value : 200
|
|
| placeholder | |
Type : string
|
|
Default value : '查找...'
|
|
| onSearch | |
Type : EventEmitter<string | number>
|
|
| onSearchChange | |
Type : EventEmitter<string | number>
|
|
| enterUp |
enterUp()
|
|
Returns :
void
|
| ngAfterViewInit |
ngAfterViewInit()
|
|
Returns :
void
|
| inputRef |
Type : ElementRef
|
Decorators :
@ViewChild('inputRef', {static: false})
|
| inputValue |
Type : string | number
|
./search.component.scss