UNPKG

gg-y-ui

Version:

An enterprise-class UI design language and Vue-based implementation for web

52 lines (50 loc) 1.06 kB
import { YUIComponent } from './component'; /** Search Component */ export declare class YSearch extends YUIComponent { /** * Whether the search input is readonly. * @default false * @type boolean */ readonly: boolean; /** * Whether the search input is disabled. * @default false * @type boolean */ disabled: boolean; /** * The background of search input * @default 'normal' * @type string */ bgColor: 'grey' | 'white'; /** * The search input have border * @default false * @type string */ border: boolean; /** * The search input content value * @type string | number */ value: string | number; /** * the search input can clear the content * @default false * @type boolean */ allowClear: boolean; /** * the search input can emit the value auto * @default false * @type boolean */ autoSearch: boolean; /** * Whether the search input content is null * @type string */ placeholder: string; }