Interface: IActivityMenuItemProps
model.IActivityMenuItemProps
Hierarchy
IMenuItemProps
↳
IActivityMenuItemProps
Table of contents
Properties
Properties
className
• Optional
className: string
Inherited from
IMenuItemProps.className
Defined in
disabled
• Optional
disabled: boolean
Inherited from
IMenuItemProps.disabled
Defined in
src/components/menu/menuItem.tsx:26
icon
• Optional
icon: string
| Element
The name of icon
Inherited from
IMenuItemProps.icon
Defined in
src/components/menu/menuItem.tsx:20
id
• id: UniqueId
Overrides
IMenuItemProps.id
Defined in
src/model/workbench/activityBar.ts:32
keybinding
• Optional
keybinding: string
The description of keybinding example: ⇧⌘P
Inherited from
IMenuItemProps.keybinding
Defined in
src/components/menu/menuItem.tsx:31
name
• Optional
name: string
Item Name
Inherited from
IMenuItemProps.name
Defined in
src/components/menu/menuItem.tsx:25
onClick
• Optional
onClick: (e
: MouseEvent
\<Element
, MouseEvent
>, item
: IMenuItemProps
) => void
Type declaration
▸ (e
, item
): void
Parameters
Name | Type |
---|---|
e | MouseEvent \<Element , MouseEvent > |
item | IMenuItemProps |
Returns
void
Inherited from
IMenuItemProps.onClick
Defined in
src/components/menu/menuItem.tsx:36
render
• Optional
render: (data
: IMenuItemProps
) => ReactNode
Type declaration
▸ (data
): ReactNode
Custom render
Parameters
Name | Type |
---|---|
data | IMenuItemProps |
Returns
ReactNode
Inherited from
IMenuItemProps.render
Defined in
src/components/menu/menuItem.tsx:35
role
• Optional
role: string
Inherited from
IMenuItemProps.role
Defined in
sortIndex
• Optional
sortIndex: number
Inherited from
IMenuItemProps.sortIndex
Defined in
src/components/menu/menuItem.tsx:37
style
• Optional
style: CSSProperties
Inherited from
IMenuItemProps.style
Defined in
title
• Optional
title: string
Inherited from
IMenuItemProps.title
Defined in
type
• Optional
type: "divider"
Inherited from
IMenuItemProps.type