Interface: KubeObjectMenuProps<TKubeObject>#
Renderer.Component.KubeObjectMenuProps
Copyright (c) 2021 OpenLens Authors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Type parameters#
| Name |
|---|
TKubeObject |
Hierarchy#
↳ KubeObjectMenuProps
Table of contents#
Properties#
- autoCloseOnSelect
- autoFocus
- children
- className
- closeOnClickItem
- closeOnClickOutside
- closeOnScroll
- editable
- htmlFor
- id
- isOpen
- object
- position
- removable
- removeConfirmationMessage
- toggleEvent
- toolbar
- triggerIcon
- usePortal
Methods#
Properties#
autoCloseOnSelect#
• Optional autoCloseOnSelect: boolean
Inherited from#
MenuActionsProps.autoCloseOnSelect
autoFocus#
• Optional autoFocus: boolean
Inherited from#
children#
• Optional children: ReactNode
Inherited from#
className#
• Optional className: string
Inherited from#
closeOnClickItem#
• Optional closeOnClickItem: boolean
Inherited from#
MenuActionsProps.closeOnClickItem
closeOnClickOutside#
• Optional closeOnClickOutside: boolean
Inherited from#
MenuActionsProps.closeOnClickOutside
closeOnScroll#
• Optional closeOnScroll: boolean
Inherited from#
MenuActionsProps.closeOnScroll
editable#
• Optional editable: boolean
htmlFor#
• Optional htmlFor: string
Inherited from#
id#
• Optional id: string
Inherited from#
isOpen#
• Optional isOpen: boolean
Inherited from#
object#
• object: TKubeObject
position#
• Optional position: MenuPosition
Inherited from#
removable#
• Optional removable: boolean
removeConfirmationMessage#
• Optional removeConfirmationMessage: ReactNode | () => ReactNode
Inherited from#
MenuActionsProps.removeConfirmationMessage
toggleEvent#
• Optional toggleEvent: "click" | "contextmenu"
Inherited from#
toolbar#
• Optional toolbar: boolean
Inherited from#
triggerIcon#
• Optional triggerIcon: ReactNode | IconProps
Inherited from#
usePortal#
• Optional usePortal: boolean | HTMLElement
Inherited from#
Methods#
close#
▸ Optional close(): void
Returns#
void
Inherited from#
onOpen#
▸ Optional onOpen(): void
Returns#
void
Inherited from#
open#
▸ Optional open(): void
Returns#
void
Inherited from#
removeAction#
▸ Optional removeAction(): void
Returns#
void
Inherited from#
updateAction#
▸ Optional updateAction(): void
Returns#
void