Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CloseOnOutsideClickOptions<E>

Type parameters

  • E: HTMLElement

    The HTMLElement type of the container element that should not trigger the close behavior if an element inside is clicked.

Hierarchy

  • CloseOnOutsideClickOptions

Index

Properties

element

element: null | E | MutableRefObject<null | E>

The element that should not trigger the onOutsideClick callback when it or a child has been clicked.

enabled

enabled: boolean

Boolean if the behavior is enabled.

onOutsideClick

onOutsideClick: OnOutsideClick<E>

A callback function when an element outside has been clicked. This is normally something that closes temporary elements.

Generated using TypeDoc