src/modules/generic-search/entities/generic-search-form-buttons-config.intf.ts
This interface describes the properties of the buttons displayed below of the search form in the generic search component.
Properties |
custom |
custom:
|
Type : StarkFormButton[]
|
Optional |
Array of {StarkFormButton} buttons that can be displayed beside the default buttons in the Generic Search component |
new |
new:
|
Type : StarkFormCustomizablePredefinedButton
|
Optional |
Configuration of the new button displayed in the Generic Search component |
reset |
reset:
|
Type : StarkFormCustomizablePredefinedButton
|
Optional |
Configuration of the reset button displayed in the Generic Search component |
search |
search:
|
Type : StarkFormDefaultPredefinedButton
|
Optional |
Configuration of the search button displayed in the Generic Search component |
import { StarkFormButton, StarkFormCustomizablePredefinedButton, StarkFormDefaultPredefinedButton } from "./form-action.intf";
/**
* This interface describes the properties of the buttons displayed below of the search form in the generic search component.
*/
export interface StarkGenericSearchFormButtonsConfig {
/**
* Configuration of the search button displayed in the Generic Search component
*/
search?: StarkFormDefaultPredefinedButton;
/**
* Configuration of the new button displayed in the Generic Search component
*/
new?: StarkFormCustomizablePredefinedButton;
/**
* Configuration of the reset button displayed in the Generic Search component
*/
reset?: StarkFormCustomizablePredefinedButton;
/**
* Array of {StarkFormButton} buttons that can be displayed beside the default buttons in the Generic Search component
*/
custom?: StarkFormButton[];
}