Reference Source
import {Shell} from '@adobe/coral-spectrum'
public class | source

ShellMenu

Extends:

HTMLElementOverlayPopover → ShellMenu

A Shell Menu component

See:

Example:

Markup
<coral-shell-menu></coral-shell-menu>
JS constructor
new Coral.Shell.Menu();

Member Summary

Public Members
public

Whether the overlay should use all available space.

public

Inherited from Popover#placement.

public

within: *

Inherited from Popover#within.

Inherited Summary

From class Overlay
public static
this member was deprecated. Returns {@link Overlay} align options.
public static

Returns Overlay collision options.

public static

Returns Overlay interaction options.

public static

Returns Overlay placement options.

public static

Returns Overlay target options.

public
this member was deprecated.

The point on the target we should anchor to when positioning.

public
this member was deprecated.

The point on the overlay we should anchor from when positioning.

public

The distance the overlay should be from its target along the breadth axis.

public

The collision handling strategy when positioning the overlay relative to a target.

public

Whether the overlay flows toward the inner of the target element.

public

Whether keyboard interaction is enabled.

public

The distance the overlay should be from its target along the length axis.

public

The distance the overlay should be from its target.

public

open: *

Inherited from BaseOverlay#open.

public

The placement of the overlay.

public

Whether the overlay is allowed to change its DOM position for better positioning based on its context.

public

The element the overlay should position relative to.

public

The bounding element for the overlay.

public

Amount of pixel used to define a minimum distance between the boundaries and the overlay.

public

reposition(forceReposition: Boolean)

Re-position the overlay if it's currently open.

From class Popover
public static

Returns Popover close options.

public static

Returns Popover variants.

public
public

Whether the popover should have a close button.

public

The popover's content element.

  • content-zone

public

The popover's footer element.

  • content-zone

public

The popover's header element.

  • content-zone

public

open: *

Inherited from Overlay#open.

public

target: *

Inherited from Overlay#target.

public

The popover's variant. See PopoverVariantEnum.

  • PopoverVariantEnum.DEFAULT by default.
  • reflected

Public Members

public full: Boolean source

Whether the overlay should use all available space.

  • false by default.
  • reflected

public placement: * source

Inherited from Popover#placement.

Override:

Overlay#placement

public within: * source

Inherited from Popover#within.

Override:

Overlay#within