FlyoutCloseReason

FlyoutCloseReason

The reason a flyout closed, carried on the esp-flyout-closed event detail.

  • "escape" — the user pressed the Escape key
  • "vellum" — the user clicked the overlay-mode backdrop
  • "button" — the user clicked the flyout's close button
  • "programmatic"close() was called from code (including the "close-flyout" bus event)
type FlyoutCloseReason = "escape" | "vellum" | "button" | "programmatic"
Components API Guides Getting started Styling Espalier Browser support GitHub npm package Taproot I/O