devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
49 lines (47 loc) • 1.8 kB
TypeScript
/**
* DevExtreme (ui/widget/ui.search_box_mixin.d.ts)
* Version: 21.1.4
* Build date: Mon Jun 21 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import {
dxTextBoxOptions
} from '../text_box';
/**
* @deprecated Attention! This type is for internal purposes only. If you used it previously, please describe your scenario in the following GitHub Issue, and we will suggest a public alternative: {@link https://github.com/DevExpress/DevExtreme/issues/17885|Internal Types}.
*/
export interface SearchBoxMixinOptions<T = SearchBoxMixin> {
/**
* Configures the search panel.
*/
searchEditorOptions?: dxTextBoxOptions;
/**
* Specifies whether the search panel is visible.
*/
searchEnabled?: boolean;
/**
* Specifies a data object's field name or an expression whose value is compared to the search string.
*/
searchExpr?: string | Function | Array<string | Function>;
/**
* Specifies a comparison operation used to search UI component items.
*/
searchMode?: 'contains' | 'startswith' | 'equals';
/**
* Specifies a delay in milliseconds between when a user finishes typing, and the search is executed.
*/
searchTimeout?: number;
/**
* Specifies the current search string.
*/
searchValue?: string;
}
/**
*
* @deprecated Attention! This type is for internal purposes only. If you used it previously, please describe your scenario in the following GitHub Issue, and we will suggest a public alternative: {@link https://github.com/DevExpress/DevExtreme/issues/17885|Internal Types}.
*/
export default class SearchBoxMixin {
constructor(options?: SearchBoxMixinOptions)
}