FUISwitchComponent

public protocol FUISwitchComponent : FUIAttributesConsumer

Component protocol for Switch properties

  • Boolean value of the switch.

    Declaration

    Swift

    var value: Bool { get set }
  • Switch view.

    Declaration

    Swift

    var switchView: UISwitch { get }
  • A closure which will fire on switch value(on/off) changes.

    Declaration

    Swift

    var onChangeHandler: ((Bool) -> Void)? { get set }
  • NUIStyleClassPath for switch property.

    Declaration

    Swift

    var switchStyleClassPath: [FioriStyle] { get set }