File

projects/netgrif-components-core/src/lib/search/models/component-configuration/search-component-configuration.ts

Index

Properties

Properties

inheritAllowedNets
inheritAllowedNets: boolean
Type : boolean
Optional

Whether the saved filter should be saved with the inheritAllowedNets flag set to true, or false. If no configuration is provided the flag will be set to true by default.

initialSearchMode
initialSearchMode: SearchMode
Type : SearchMode
Optional
saveFilterWithDefaultCategories
saveFilterWithDefaultCategories: boolean
Type : boolean
Optional

Whether the saved filter should be saved with the defaultSearchCategories flag set to true, or false. If no configuration is provided the flag will be set to true by default.

showAdvancedSearchHelp
showAdvancedSearchHelp: boolean
Type : boolean
Optional
showLoadFilterButton
showLoadFilterButton: boolean
Type : boolean
Optional
showSaveFilterButton
showSaveFilterButton: boolean
Type : boolean
Optional
showSearchIcon
showSearchIcon: boolean
Type : boolean
Optional
showSearchToggleButton
showSearchToggleButton: boolean
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;
}

result-matching ""

    No results matching ""