Popover

open class Popover(direction: FloatDirection? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Popover.() -> Unit? = null)

A popover component.

Parameters

direction

a direction of the popover

cancelable

whether the popover can be canceled

animation

determines if the transitions are animated

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(direction: FloatDirection? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Popover.() -> Unit? = null)

Creates a popover component.

Properties

Link copied to clipboard

Determines if the transitions are animated.

Link copied to clipboard

Whether the popover can be canceled.

Link copied to clipboard

Whether the popover covers the target component.

Link copied to clipboard

The direction of the popover.

Link copied to clipboard

Whether the popover is disabled.

Link copied to clipboard

A dynamic property returning whether the popover is visible.

Link copied to clipboard

Color of the background mask.

Link copied to clipboard

A modifier attribute to specify custom styles.

Link copied to clipboard
open var parent: <Error class: unknown class>?

Functions

Link copied to clipboard
open fun afterInsert(node: <Error class: unknown class>)
Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun clearParent()
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun getRoot(): <Error class: unknown class>?
Link copied to clipboard
open fun hideOnsPopover(options: dynamic = undefined): <Error class: unknown class><Unit>?

Hides the popover.

Link copied to clipboard
open fun onDeviceBackButton(callback: (event: BackButtonEvent) -> Unit)

Sets device back button event listener.

Link copied to clipboard

Clears device back button event listener.

Link copied to clipboard
open fun render(): <Error class: unknown class>
Link copied to clipboard
open fun showOnsPopover(target: <Error class: unknown class>, options: dynamic = undefined): <Error class: unknown class><Unit>?

Shows the popover.