projects/netgrif-components-core/src/lib/search/models/component-configuration/search-component-configuration.ts
Properties |
|
inheritAllowedNets |
inheritAllowedNets:
|
Type : boolean
|
Optional |
Whether the saved filter should be saved with the inheritAllowedNets flag set to
|
initialSearchMode |
initialSearchMode:
|
Type : SearchMode
|
Optional |
saveFilterWithDefaultCategories |
saveFilterWithDefaultCategories:
|
Type : boolean
|
Optional |
Whether the saved filter should be saved with the defaultSearchCategories
flag set to |
showAdvancedSearchHelp |
showAdvancedSearchHelp:
|
Type : boolean
|
Optional |
showLoadFilterButton |
showLoadFilterButton:
|
Type : boolean
|
Optional |
showSaveFilterButton |
showSaveFilterButton:
|
Type : boolean
|
Optional |
showSearchIcon |
showSearchIcon:
|
Type : boolean
|
Optional |
showSearchToggleButton |
showSearchToggleButton:
|
Type : boolean
|
Optional |
import {SearchMode} from './search-mode';
export interface SearchComponentConfiguration {
showSearchIcon?: boolean;
showSearchToggleButton?: boolean;
showAdvancedSearchHelp?: boolean;
showSaveFilterButton?: boolean;
showLoadFilterButton?: boolean;
initialSearchMode?: SearchMode;
/**
* Whether the saved filter should be saved with the [defaultSearchCategories]{@link FilterMetadata#defaultSearchCategories}
* flag set to `true`, or `false`.
* If no configuration is provided the flag will be set to `true` by default.
*/
saveFilterWithDefaultCategories?: boolean;
/**
* Whether the saved filter should be saved with the [inheritAllowedNets]{@link FilterMetadata#inheritAllowedNets} flag set to
* `true`, or `false`.
* If no configuration is provided the flag will be set to `true` by default.
*/
inheritAllowedNets?: boolean;
}