Dropdown Menu
class DropdownMenu(ctx: Ctx<DropdownMenu.Props>) : Component<DropdownMenu.Props>
Content copied to clipboard
Constructors
Types
Link copied to clipboard
data class Item(val content: RenderFunc<DIV>, val items: List<DropdownMenu.Item> = emptyList())
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Props( val content: RenderFn, val style: DropdownMenu.Style, val items: List<DropdownMenu.Item>)
Content copied to clipboard
Link 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