UIOrderedList
open class UIOrderedList
A wrapper class around an ol (odered list) element.
-
The
olelement that is represented by this class.Declaration
Swift
public let ol = UIElement(element: .ol) -
The list items used in the ordered list.
Declaration
Swift
public private(set) var listItems: [UIListItem] = [] -
Creates a
UIOrderedListwith text in the list items.Declaration
Swift
public init(text: [String])Parameters
textThe strings for the
UIListItems. -
Creates a
UIOrderedListwith children in the list items.Declaration
Swift
public init(elements: [ElementRenderable])Parameters
elementsThe elements that will be used in the
lielements. -
Creates a
UIOrderedListwith customUIListItems.Declaration
Swift
public init(with listElements: [UIListItem])Parameters
listElementsThe
UIListItemsfor theUIOrderedListol.
UIOrderedList Class Reference