MdFilledButton

open class MdFilledButton(text: String? = null, disabled: Boolean = false, href: String? = null, target: LinkTarget? = null, trailingIcon: Boolean = false, type: ButtonType = ButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledButton.() -> Unit? = null) : MdButton

Filled buttons have the most visual impact after the FAB, and should be used for important, final actions that complete a flow, like Save, Join now, or Confirm.

Author

Maanrifa Bacar Ali

Constructors

Link copied to clipboard
constructor(text: String? = null, disabled: Boolean = false, href: String? = null, target: LinkTarget? = null, trailingIcon: Boolean = false, type: ButtonType = ButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledButton.() -> Unit? = null)

Properties

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

Whether or not the widget is disabled.

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 button points to.

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 target: <Error class: unknown class>

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

Link copied to clipboard
var text: String?

Button text.

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

Whether to render the icon at the inline end of the label rather than the inline start. Note: Link buttons cannot have trailing icons.

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 override fun render(): <Error class: unknown class>