styledRating

fun styledRating(max: Int = 5, rating: Int = -1, vararg styleClass: String, id: String? = null): Rating

Create a styled Rating.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledRating(max: Int = 5, rating: Int = -1, vararg styleClass: String, id: String? = null): Rating

Add a styled Rating to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledRating(max: Int = 5, rating: Int = -1, vararg styleClass: String, id: String? = null, configuration: Rating.() -> Unit): Rating

Create a styled Rating with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun NodeManager.styledRating(max: Int = 5, rating: Int = -1, vararg styleClass: String, id: String? = null, configuration: Rating.() -> Unit): Rating

Add a styled Rating with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.