@k8slens/extensions / Exports / Renderer / Component / MenuActionsProps
Interface: MenuActionsProps#
Renderer.Component.MenuActionsProps
Hierarchy#
Partial
<MenuProps
>
↳ MenuActionsProps
Table of contents#
Properties#
- animated
- autoCloseOnSelect
- autoFocus
- children
- className
- closeOnClickItem
- closeOnClickOutside
- closeOnScroll
- data-testid
- htmlFor
- id
- isOpen
- onOpen
- position
- removeAction
- removeConfirmationMessage
- toggleEvent
- toolbar
- triggerIcon
- updateAction
- usePortal
Methods#
Properties#
animated#
• Optional
animated: boolean
Inherited from#
Partial.animated
autoCloseOnSelect#
• Optional
autoCloseOnSelect: boolean
autoFocus#
• Optional
autoFocus: boolean
Inherited from#
Partial.autoFocus
children#
• Optional
children: StrictReactNode
Inherited from#
Partial.children
className#
• Optional
className: string
Overrides#
Partial.className
closeOnClickItem#
• Optional
closeOnClickItem: boolean
Inherited from#
Partial.closeOnClickItem
closeOnClickOutside#
• Optional
closeOnClickOutside: boolean
Inherited from#
Partial.closeOnClickOutside
closeOnScroll#
• Optional
closeOnScroll: boolean
Inherited from#
Partial.closeOnScroll
data-testid#
• Optional
data-testid: string
Inherited from#
Partial.data-testid
htmlFor#
• Optional
htmlFor: string
Inherited from#
Partial.htmlFor
id#
• Optional
id: string
Overrides#
Partial.id
isOpen#
• Optional
isOpen: boolean
Inherited from#
Partial.isOpen
onOpen#
• Optional
onOpen: () => void
Type declaration#
▸ (): void
Returns#
void
position#
• Optional
position: MenuPosition
Inherited from#
Partial.position
removeAction#
• Optional
removeAction: () => void
| Promise
<void
>
Type declaration#
▸ (): void
| Promise
<void
>
Deprecated
Provide your own remove <MenuItem>
as part of the children
passed to this component
Returns#
void
| Promise
<void
>
removeConfirmationMessage#
• Optional
removeConfirmationMessage: StrictReactNode
| () => StrictReactNode
Deprecated
Provide your own remove <MenuItem>
as part of the children
passed to this component
toggleEvent#
• Optional
toggleEvent: "click"
| "contextmenu"
Inherited from#
Partial.toggleEvent
toolbar#
• Optional
toolbar: boolean
triggerIcon#
• Optional
triggerIcon: StrictReactNode
| IconProps
& TooltipDecoratorProps
updateAction#
• Optional
updateAction: () => void
| Promise
<void
>
Type declaration#
▸ (): void
| Promise
<void
>
Deprecated
Provide your own update <MenuItem>
as part of the children
passed to this component
Returns#
void
| Promise
<void
>
usePortal#
• Optional
usePortal: boolean
| HTMLElement
Inherited from#
Partial.usePortal
Methods#
close#
▸ Optional
close(): void
Returns#
void
Inherited from#
Partial.close
open#
▸ Optional
open(): void
Returns#
void
Inherited from#
Partial.open