@syncfusion/ej2-filemanager
Version:
Essential JS 2 FileManager Component
42 lines (36 loc) • 1 kB
TypeScript
import { Property, ChildProperty } from '@syncfusion/ej2-base';
import {FilterType} from "./search-settings";
/**
* Interface for a class SearchSettings
*/
export interface SearchSettingsModel {
/**
* Enables or disables the allowSearchOnTyping.
*
* @default true
*/
allowSearchOnTyping?: boolean;
/**
* Specifies the filter type while searching the content. The available filter types are:
* * `contains`
* * `startsWith`
* * `endsWith`
*
* @default 'contains'
*/
filterType?: FilterType;
/**
* If ignoreCase is set to false, searches files that match exactly,
* else searches files that are case insensitive(uppercase and lowercase letters treated the same).
*
* @default true
*/
ignoreCase?: boolean;
/**
* Specifies the placeholder value to the search input of the File Manager component.
* It accepts string.
*
* @default null
*/
placeholder?: string;
}