UIParagraph
open class UIParagraph
UIParagraph is a wrapper class around a p HTML tag which is represented by a UIElement.
-
The
pelement that is represented by the object.Declaration
Swift
public let p = UIElement(element: .p) -
The text held in the
pelement.Declaration
Swift
public var text: String -
Creates a
UIParagraphwith the desired text.Declaration
Swift
public init(text: String)Parameters
textThe text used in the objects
pelement.
UIParagraph Class Reference