Checkbox

public final class Checkbox : InputElementBase

Class define a input type checkbox

### Usage Example: ###

  Checkbox("confirmField", id: "confirmField")

Initialization

  • Default initializer checkbox element

    Declaration

    Swift

    public init(_ name: String, id: String?)

    Parameters

    name

    This is a name for checkbox name String

    id

    This is a id for checkbox id String