Variable focusRingConst

focusRing: {
    isVisible: boolean;
    conceal(): void;
    reveal(): void;
    subscribe(listener: (() => void)): (() => void);
} = ...

A focus indication that should be shown around a focused element.

Type declaration

  • isVisible: boolean

    true if a focus ring must be visible to a user.

  • conceal:function
    • Conceals the focus ring from a user.

      Returns void

  • reveal:function
    • Reveals the focus ring to a user.

      Returns void

  • subscribe:function
    • Subscribes a listener to focus ring visibility changes.

      Parameters

      • listener: (() => void)

        A listener to call when focus ring visibility has changed.

          • (): void
          • Returns void

      Returns (() => void)

      A callback that unsubscribes a listener.

        • (): void
        • Returns void

MMNEPVFCICPMFPCPTTAAATR