PluginProbe
The Innovative Form Builder – IvyForms / 1.1
The Innovative Form Builder – IvyForms v1.1
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 1.1, at frontend/src/views/_components/context-menu/context-menu-action.d.ts

31 lines 1002 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 checkboxRight?: boolean
21 checkboxRightHandler?: (entityId: number | null) => void
22 isCheckboxRightActive?: () => boolean
23 handler?: (entityId: number | null) => void
24 isSelected?: () => boolean
25 isHidden?: () => boolean
26 isActive?: () => boolean
27 isComingSoon?: boolean | (() => boolean)
28 value?: string | number
29 rightText?: string | (() => string)
30 }
31