Popup Component
class PopupComponent(ctx: Ctx<PopupComponent.Props>) : Component<PopupComponent.Props>
Content copied to clipboard
Constructors
Types
Link copied to clipboard
data class Props( val target: HTMLElement, val positioning: (target: HTMLElement, contentSize: Vector2D) -> Vector2D, val handle: PopupsManager.Handle, val content: PopupRenderer)
Content copied to clipboard
Functions
Link copied to clipboard
Returns 'true' when the component should redraw.
Link copied to clipboard
fun <T> subscribingTo(stream: Stream<T>, onNext: (T) -> Unit? = null): ReadOnlyProperty<Any?, T>
Content copied to clipboard
Creates a property that is subscribed to a stream.
Link copied to clipboard
Triggers a redraw
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The life-cycle LifeCycle that the component exposes
Link copied to clipboard