SpeedDial

open class SpeedDial(icon: String? = null, floatPosition: FloatPosition? = null, floatDirection: FloatDirection? = null, content: String? = null, rich: Boolean = false, className: String? = null, init: SpeedDial.() -> Unit? = null)

An Onsen UI speed dial component.

Parameters

icon

an icon placed on the speed dial button

floatPosition

a position of the button

floatDirection

a direction the items are displayed

content

the content the component.

rich

whether content can contain HTML code

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(icon: String? = null, floatPosition: FloatPosition? = null, floatDirection: FloatDirection? = null, content: String? = null, rich: Boolean = false, className: String? = null, init: SpeedDial.() -> Unit? = null)

Creates a speed dial component.

Properties

Link copied to clipboard

Whether the speed dial is disabled.

Link copied to clipboard

A direction the items are displayed.

Link copied to clipboard

A position of the floating button.

Link copied to clipboard
var icon: String?

An icon placed on the speed dial button.

Link copied to clipboard

A dynamic property returning whether the button is inline.

Link copied to clipboard

A dynamic property returning whether the button is visible.

Link copied to clipboard

A modifier attribute to specify custom styles.

Link copied to clipboard

Whether the item will have a ripple effect when tapped.

Functions

Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun childrenVNodes(): Array<<Error class: unknown class>>
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun hideSpeedDial()

Hides the speed dial button.

Link copied to clipboard

Hides the speed dial items.

Link copied to clipboard
open fun isOpen(): Boolean?

Returns whether the speed dial menu is open.

Link copied to clipboard
open fun onClick(handler: SpeedDial.(<Error class: unknown class>) -> Unit): Int

A convenient helper for easy setting onClick event handler.

Link copied to clipboard
open fun showSpeedDial()

Shows the speed dial button.

Link copied to clipboard

Shows the speed dial items.

Link copied to clipboard
fun SpeedDial.speedDialItem(icon: String? = null, content: String? = null, rich: Boolean = false, className: String? = null, init: SpeedDialItem.() -> Unit? = null): SpeedDialItem

DSL builder extension function.

Link copied to clipboard
open fun toggleSpeedDial()

Toggles the visibility of the speed dial button.

Link copied to clipboard

Toggles the visibility of the speed dial items.