Option

public final class Option : GenericElement

This class define a option select element

  • 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 }

Initialization

  • Default initializer option element

    Declaration

    Swift

    public init(_ value: CustomStringConvertible, text: CustomStringConvertible)

    Parameters

    value

    This is a value for option value CustomStringConvertible

    text

    This is a text for option text CustomStringConvertible