MdFilledIconButton

open class MdFilledIconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledIconButton.() -> Unit? = null) : MdIconButton

Filled icon buttons have higher visual impact and are best for high emphasis actions.

Author

Maanrifa Bacar Ali

Constructors

Link copied to clipboard
constructor(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledIconButton.() -> Unit? = null)

Properties

Link copied to clipboard
var ariaLabelSelected: <Error class: unknown class>

The aria-label of the button when the button is toggleable and selected.

Link copied to clipboard
var disabled: <Error class: unknown class>

Whether or not the widget is disabled.

Link copied to clipboard

Flips the icon if it is in an RTL context at startup.

Link copied to clipboard
val form: <Error class: unknown class>?

The associated form element with which this element's value will submit.

Link copied to clipboard
var href: <Error class: unknown class>

The URL that the link iconButton points to.

Link copied to clipboard
val labels: <Error class: unknown class>?

The labels this element is associated with.

Link copied to clipboard
var name: <Error class: unknown class>

The name to use in form submission.

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

Sets the selected state. When false, displays the default icon. When true, displays the selected icon, or the default icon if no slot="selected" icon is provided.

Link copied to clipboard
var target: <Error class: unknown class>

Where to display the linked href URL for a link iconButton. Common options include _blank to open in a new tab.

Link copied to clipboard
var toggle: <Error class: unknown class>

When true, the button will toggle between selected and unselected states.

Link copied to clipboard
var type: <Error class: unknown class>

Button type.

Link copied to clipboard
var value: <Error class: unknown class>

The value that is submitted to the form.

Functions

Link copied to clipboard
open override fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open override fun icon(component: <Error class: unknown class>?)
Link copied to clipboard

Sets the icon identified by name to the icon slot.

Link copied to clipboard
open fun render(): <Error class: unknown class>
Link copied to clipboard
open override fun selected(component: <Error class: unknown class>?)
Link copied to clipboard

Sets the icon identified by name to the selected slot.