Options
All
  • Public
  • Public/Protected
  • All
Menu

The state object for LifecyclePlugin

Hierarchy

  • LifecyclePluginState

Index

Properties

Optional announceContainer

announceContainer: HTMLElement

The HTML container for announced string

Optional Readonly announcerStringGetter

announcerStringGetter: (key: KnownAnnounceStrings) => string

Type declaration

    • A callback to help get string template to announce, used for accessibility

      Parameters

      Returns string

      A template string to announce, use placeholder such as "{0}" for variables if necessary

isDarkMode

isDarkMode: boolean

Whether editor is in dark mode

shadowEditFragment

shadowEditFragment: DocumentFragment

Cached document fragment for original content

Readonly styleElements

styleElements: Record<string, HTMLStyleElement>

Style elements used for adding CSS rules for editor

Generated using TypeDoc