UNPKG

ng-zorro-antd-mobile

Version:

An enterprise-class mobile UI components based on Ant Design and Angular

58 lines (57 loc) 1.78 kB
import { OnInit, AfterViewInit, AfterViewChecked, ElementRef, EventEmitter, OnDestroy } from '@angular/core'; import { LocaleProviderService } from '../locale-provider/locale-provider.service'; export declare class SearchBar implements OnInit, AfterViewInit, AfterViewChecked, OnDestroy { private _elementRef; private _localeProvider; prefixCls: string; clearCls: object; wrapCls: object; cancelCls: object; private _defaultValue; private _value; private _placeholder; private _showCancelButton; private _cancelText; private _disabled; private _maxLength; private _focus; private _isSubmit; private _isCustomText; private _isClearClicking; private _syntheticPhContainerRef; private _syntheticPhRef; private _rightBtnRef; private _inputContainerRef; private _rightBtnInitMarginLeft; private _blurFromOnClear; private locale; private _unsubscribe$; inputElementRef: any; defaultValue: string; value: string; placeholder: string; showCancelButton: boolean; cancelText: string; disabled: boolean; maxLength: number; setFocus: any; onSubmit: EventEmitter<any>; onChange: EventEmitter<any>; onFocus: EventEmitter<any>; onBlur: EventEmitter<any>; onCancel: EventEmitter<any>; onClear: EventEmitter<any>; constructor(_elementRef: ElementRef, _localeProvider: LocaleProviderService); setClass(): void; setStyle(): void; onSearchbarBlur(): void; onSearchbarFocus(): void; onSearchbarChange(e: any): void; onSearchSubmit(e: any): void; onSearchbarCancel(): void; onSearchbarClear(): void; ngOnInit(): void; ngAfterViewInit(): void; ngAfterViewChecked(): void; ngOnDestroy(): void; }