Function createActionDesc
- createActionDesc(
label?: string,
actions?: Readonly<IAction>[],
groupActions?: Readonly<IGroupAction>[],
): {
actions: Readonly<IAction>[];
fixed: boolean;
groupActions: Readonly<IGroupAction>[];
label: string;
type: string;
} Parameters
- label: string = 'actions'
- actions: Readonly<IAction>[] = []
- groupActions: Readonly<IGroupAction>[] = []
Returns {
actions: Readonly<IAction>[];
fixed: boolean;
groupActions: Readonly<IGroupAction>[];
label: string;
type: string;
}
utility for creating an action description with optional label