ValueCallbackProtocol

public protocol ValueCallbackProtocol

Protocol for hidden value callbacks that carry an ID and a value to be returned.

Conforming callbacks expose a hidden identifier, a value to submit, and a convenience setter.

  • Hidden identifier value.

    Declaration

    Swift

    var valueId: String { get set }
  • The hidden value to be sent back.

    Declaration

    Swift

    var value: String { get }
  • Convenience method to update the hidden value.

    Declaration

    Swift

    func setValue(_ value: String)