OnsList(inset: Boolean = false, noborder: Boolean = false, classes: Set<String> = setOf(), init: (OnsList.() -> Unit)? = null)
Creates a list component.
inset
- whether the list doesn’t cover the whole width of the parent
noborder
- whether the list has no borders at the top and bottom
classes
- a set of CSS class names
init
- an initializer extension function
Constructor
Creates a list component.