styledText
Create a styled Text.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun NodeContainer.styledText(text: String? = null, vararg styleClass: String, id: String? = null): Text
Add a styled Text to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun styledText(text: String? = null, vararg styleClass: String, id: String? = null, configuration: Text.() -> Unit): Text
Create a styled Text with configuration block.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.
inline fun NodeContainer.styledText(text: String? = null, vararg styleClass: String, id: String? = null, configuration: Text.() -> Unit): Text
Add a styled Text with configuration block to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.