Interface ClickOutsideOptions

interface ClickOutsideOptions {
    eventType?: ClickOutsideEvent;
    includeChildren?: boolean;
}

Properties

eventType?: ClickOutsideEvent

The type of event to use for detecting clicks. Default is "click".

includeChildren?: boolean

If set to true, a click on a child of the target element will count as a click on the target element and not trigger the callback.