Text
public final class Text : ElementProtocol
Make a simple text Element to append in others elements
### Usage Example: ###
Text("Simple Text")
-
Text value
String
Declaration
Swift
private let value: String
-
Initialization with Generic Type
Declaration
Swift
public init(_ value: String)
Parameters
value
text
String
-
Returns text: String
Declaration
Swift
public func getString() -> String
-
Print text
Declaration
Swift
public func generate()