Interface: IEditorActionsProps
molecule.model.IEditorActionsProps
Hierarchy
↳
IEditorActionsProps
Properties
className
• Optional
className: string
Inherited from
Defined in
disabled
• Optional
disabled: boolean
Inherited from
Defined in
src/components/menu/menuItem.tsx:26
icon
• Optional
icon: string
| Element
The name of icon
Inherited from
Defined in
src/components/menu/menuItem.tsx:20
id
• id: UniqueId
Overrides
Defined in
src/model/workbench/editor.ts:33
keybinding
• Optional
keybinding: string
The description of keybinding example: ⇧⌘P
Inherited from
Defined in
src/components/menu/menuItem.tsx:31
name
• Optional
name: string
Item Name
Inherited from
Defined in
src/components/menu/menuItem.tsx:25
place
• Optional
place: "outer"
| "inner"
Mark the action placed in More menus or outer
Defined in
src/model/workbench/editor.ts:37
role
• Optional
role: string
Inherited from
Defined in
sortIndex
• Optional
sortIndex: number
Inherited from
Defined in
src/components/menu/menuItem.tsx:37
style
• Optional
style: CSSProperties
Inherited from
Defined in
title
• Optional
title: string
Inherited from
Defined in
type
• Optional
type: "divider"
Inherited from
Defined in
src/components/menu/menuItem.tsx:21
Methods
onClick
▸ Optional
onClick(e
, item
): void
Parameters
Name | Type |
---|---|
e | MouseEvent <Element , MouseEvent > |
item | IMenuItemProps |
Returns
void
Inherited from
Defined in
src/components/menu/menuItem.tsx:36
render
▸ Optional
render(data
): ReactNode
Custom render
Parameters
Name | Type |
---|---|
data | IMenuItemProps |
Returns
ReactNode