UIUnorderedList
open class UIUnorderedList
A wrapper class that represents an HTML ul element.
-
The base
ulelement of theUIUnorderedListobject.Declaration
Swift
public let ul = UIElement(element: .ul) -
The list items used in the unordered list.
Declaration
Swift
public private(set) var listItems: [UIListItem] = [] -
Creates a
UIUnorderedListobject with text in the list items.Declaration
Swift
public init(text: [String])Parameters
textThe strings for the
UIListItems. -
Creates a
UIUnorderedListobject with children in the list items.Declaration
Swift
public init(elements: [ElementRenderable])Parameters
elementsThe elements that will be used in the
lielements. -
Creates a
UIUnorderedListobject with customUIListItems.Declaration
Swift
public init(with listElements: [UIListItem])Parameters
listElementsThe
UIListItemsfor theUIUnorderedListul.
UIUnorderedList Class Reference