Segment

open class Segment(className: String? = null, init: Segment.() -> Unit? = null)

A segment component.

Parameters

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(className: String? = null, init: Segment.() -> Unit? = null)

Creates a segment component.

Properties

Link copied to clipboard

The index of the first active button.

Link copied to clipboard

Whether the component is disabled.

Link copied to clipboard

A modifier attribute to specify custom styles.

Link copied to clipboard

The connected tab bar component.

Functions

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

Gets the active button index.

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

Activates the button at given index.