ClickAwayListenerProps

Properties

Link copied to clipboard
abstract override var children: ReactNode?

The wrapped element.

Link copied to clipboard
abstract var disableReactTree: Boolean?

If true, the React tree is ignored and only the DOM tree is considered. This prop changes how portaled elements are handled.

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard

The mouse event to listen to. You can disable the listener by providing false.

Link copied to clipboard
abstract var onClickAway: (event: UIEvent) -> Unit

Callback fired when a "click away" event is detected.

Link copied to clipboard

The touch event to listen to. You can disable the listener by providing false.

Functions

Link copied to clipboard
open inline fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <T> ContextType<T>.invoke(noinline block: ProviderProps<T>.() -> Unit)
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> ContextType<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()