HasAtts

open class HasAtts(attType: AttType? = null) : HasAttsI(source)

A base implementation of HasAttsI. Will build attributes using attsOf.

Parameters

attType

: Optional AttType that will be added to the attributes defined by object properties.

Constructors

Link copied to clipboard
constructor(attType: AttType? = null)

Functions

Link copied to clipboard
open override fun atts(): Atts
Link copied to clipboard
fun HasAttsI.withAtts(vararg additionalAttributes: Pair<String, Any?>): Atts

Lets as us merge the attributes of something that HasAttsI with additional attributes.