UINavigation
open class UINavigation
A wrapper object around a navigation element with a unordered list of anchors.
-
The top level nav of the
UINavigationobject.Declaration
Swift
public let nav = UIElement(element: .nav) -
The anchor elements in the
nav'sunordered list.Declaration
Swift
public var anchors: [UIAnchor] -
Creates a
UINavigationwith the attributs for the anchor elements.Declaration
Swift
public init(navItems: [String: String])Parameters
navItemsThe dictionary used for getting the information for the anchors. The key is used for the text and the value is used as the link.
UINavigation Class Reference