Skip to content

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#

Methods#

Properties#

autoCloseOnSelect#

Optional autoCloseOnSelect: boolean

Inherited from#

MenuActionsProps.autoCloseOnSelect


autoFocus#

Optional autoFocus: boolean

Inherited from#

MenuActionsProps.autoFocus


children#

Optional children: ReactNode

Inherited from#

MenuActionsProps.children


className#

Optional className: string

Inherited from#

MenuActionsProps.className


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#

MenuActionsProps.htmlFor


id#

Optional id: string

Inherited from#

MenuActionsProps.id


isOpen#

Optional isOpen: boolean

Inherited from#

MenuActionsProps.isOpen


object#

object: TKubeObject


position#

Optional position: MenuPosition

Inherited from#

MenuActionsProps.position


removable#

Optional removable: boolean


removeConfirmationMessage#

Optional removeConfirmationMessage: ReactNode | () => ReactNode

Inherited from#

MenuActionsProps.removeConfirmationMessage


toggleEvent#

Optional toggleEvent: "click" | "contextmenu"

Inherited from#

MenuActionsProps.toggleEvent


toolbar#

Optional toolbar: boolean

Inherited from#

MenuActionsProps.toolbar


triggerIcon#

Optional triggerIcon: ReactNode | IconProps

Inherited from#

MenuActionsProps.triggerIcon


usePortal#

Optional usePortal: boolean | HTMLElement

Inherited from#

MenuActionsProps.usePortal

Methods#

close#

Optional close(): void

Returns#

void

Inherited from#

MenuActionsProps.close


onOpen#

Optional onOpen(): void

Returns#

void

Inherited from#

MenuActionsProps.onOpen


open#

Optional open(): void

Returns#

void

Inherited from#

MenuActionsProps.open


removeAction#

Optional removeAction(): void

Returns#

void

Inherited from#

MenuActionsProps.removeAction


updateAction#

Optional updateAction(): void

Returns#

void

Inherited from#

MenuActionsProps.updateAction