The ClickOutside directive calls a function when something outside of the target element is clicked on. This is used internally by components like Menu and Dalog.


The ClickOutside action allows you to provide a handler to be invoked when the user clicks outside of the target element.

Ready For More?

Continue to learn more about svelte materialify with content selected by the creator.

Last Updated: 2021-09-02