Textarea

public final class Textarea : GenericElement

This class define a Textarea element

### Usage Example: ###

 Textarea(("placeholder", "Hi Mike …"), ("id", "commentField"))
  • tag

    Override tag element for option. Default is option

    Declaration

    Swift

    override var tag: String { get }
  • Override container element for table row elements defaults is true

    Declaration

    Swift

    override var container: Bool { get }
  • This method add a text in textarea element

    Declaration

    Swift

    public func add(_ text: String)

    Parameters

    text

    This is a text for select text String