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