InputText

public final class InputText : InputElementBase

Class define a input type text

### Usage Example: ###

 InputText("value", id: "nameField", placeholder: "Name")

Initialization

  • Default initializer input text element

    Declaration

    Swift

    public init(_ value: String, id: String?, placeholder: String?)

    Parameters

    value

    This is a value for checkbox value String

    id

    This is a id for checkbox id String?

    placeholder

    This is a placeholder for checkbox placeholder String?