PluginProbe
The Innovative Form Builder – IvyForms / 0.9
The Innovative Form Builder – IvyForms v0.9
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / frontend / src / views / _components / context-menu / context-menu-action.d.ts

context-menu-action.d.ts in The Innovative Form Builder – IvyForms 0.9, at frontend/src/views/_components/context-menu/context-menu-action.d.ts

32 lines 1023 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import type { IconCategory } from '@/types/icons/icon-category'
2 import type { IconType } from '@/types/icons/icon-type'
3 export interface ContextMenuAction {
4 label: string | (() => string)
5 icon?: string | (() => string)
6 iconType?: IconType
7 iconCategory?: IconCategory
8 iconColor?: string
9 iconOnly?: boolean
10 iconSize?: 'xs' | 's' | 'd' | 'l'
11 secondary?: boolean | (() => boolean)
12 divided?: boolean | (() => boolean)
13 dividerDown?: boolean | (() => boolean)
14 danger?: boolean | (() => boolean)
15 color?: 'default' | 'theme' | 'danger'
16 grouped?: boolean
17 showArrow?: boolean
18 infoIcon?: boolean
19 questionIcon?: boolean
20 rightText?: string
21 checkboxRight?: boolean
22 checkboxRightHandler?: (entityId: number | null) => void
23 isCheckboxRightActive?: () => boolean
24 handler?: (entityId: number | null) => void
25 isSelected?: () => boolean
26 isHidden?: () => boolean
27 isActive?: () => boolean
28 isComingSoon?: boolean | (() => boolean)
29 value?: string | number
30 rightText?: string | (() => string)
31 }
32