UNPKG

@hxui/angular

Version:

This README includes the steps that are necessary to import the HxUi-angular into a project or to contribute with development.

45 lines (44 loc) 949 B
import { IDisabledInput } from './disabled-input.interface'; export declare enum ActionConfigRouteType { None = 0, Route = 1, Callback = 2, } export declare abstract class IActionsConfig { /** * Unique identifier/reference */ id: string; /** * Label used for display purposes. */ label: string; /** * HxUI Icon */ icon?: string; /** * Css class name to append to button */ css?: string; /** * Disabled option */ disabledConfig?: IDisabledInput; /** * The route to go to when clicked. */ route?: Array<any>; /** * The route type. Could be standard route or callback. */ routeType: ActionConfigRouteType; /** * The function to call when route type is callback */ callback?: any; /** * Child actions */ children?: IActionsConfig[]; }