TagAttrsDelegate

Common tag attributes delegate.

Inheritors

Properties

Link copied to clipboard
abstract override var accesskey: Char?

The accesskey attribute.

Link copied to clipboard
abstract override var ariaDescribedby: String?

The aria-describedby attribute.

Link copied to clipboard
abstract override var ariaLabel: String?

The aria-label attribute.

Link copied to clipboard
abstract override var ariaLabelledby: String?

The aria-labelledby attribute.

Link copied to clipboard
abstract val attributesMap: Map<String, Any>

The map of attributes.

Link copied to clipboard
abstract override var autofocus: Boolean?

The autofocus attribute.

Link copied to clipboard
abstract override var draggable: Boolean?

The draggable attribute.

Link copied to clipboard
abstract override var role: String?

The role attribute.

Link copied to clipboard
abstract override var tabindex: Int?

The tabindex attribute.

Link copied to clipboard
abstract override var title: String?

The title attribute.

Functions

Link copied to clipboard
@Composable
abstract fun accesskey(accesskey: Char?)

Set the accesskey attribute.

Link copied to clipboard
@Composable
abstract fun ariaDescribedby(ariaDescribedby: String?)

Set the aria-describedby attribute.

Link copied to clipboard
@Composable
abstract fun ariaLabel(ariaLabel: String?)

Set the aria-label attribute.

Link copied to clipboard
@Composable
abstract fun ariaLabelledby(ariaLabelledby: String?)

Set the aria-labelledby attribute.

Link copied to clipboard
@Composable
abstract fun attribute(name: String, value: String?)

Set value for the given attribute.

Link copied to clipboard
@Composable
abstract fun autofocus(autofocus: Boolean?)

Set the autofocus attribute.

Link copied to clipboard
@Composable
abstract fun draggable(draggable: Boolean?)

Set the draggable attribute.

Link copied to clipboard
abstract fun elementWithAttrs(element: E?)

Connects the delegate with the given element.

Link copied to clipboard
abstract override fun getAttribute(name: String): String?

Get value of the given attribute.

Link copied to clipboard
abstract fun removeAttribute(name: String)

Remove attribute with the given name.

Link copied to clipboard
@Composable
abstract fun role(role: String?)

Set the role attribute.

Link copied to clipboard
abstract fun setAttribute(name: String, value: String?)

Set value for a given attribute name.

Link copied to clipboard
@Composable
abstract fun tabindex(tabindex: Int?)

Set the tabindex attribute.

Link copied to clipboard
@Composable
abstract fun title(title: String?)

Set the title attribute.