Skip to main content

Events

iOS Element events are triggered whenever a user types into an element text field. An ElementEvent is the struct that gets passed into the subject’s receiveValue function. The following are properties on the ElementEvent struct:

PropertyDescription
typeThe event type for the ElementEvent.
completeWhether the input is valid and the mask is satisfied.
validWhether the input is valid according to validation for each element.
detailsAn array of ElementEventDetail describing more information about the element event.

ElementEventDetail

PropertyDescription
typeA String describing the type of detail.
messageA String containing the message for the detail.