onClickOutside

fun Element.onClickOutside(options: dynamic = null, callback: (Event) -> Unit): EventListener(source)