Skip to main content
cngx-src documentation

CngxContextMenuTriggerPopoverRef

Interface

projects/common/interactive/menu/context-menu-trigger-core.ts

Referenced by#

Import#

import { CngxContextMenuTriggerPopoverRef } from '@cngx/common/interactive'

Description#

Popover surface the context-menu core drives at pointer coordinates. Typed structurally to keep @cngx/common/interactive free of a @cngx/common/popover import (menu-accepted-debt ยง7).

Metadata#

Index#

Properties

Instance Properties#

Readonly

Popover unique id signal - used to compose the anchor-name CSS value the browser's CSS Anchor Positioning expects on the anchor element.

Methods#

setAnchorElement#void
setAnchorElement(el: HTMLElement | null)

Register the virtual pointer-coordinate anchor, or clear it.

@paramelHTMLElement | null
show#void