SubmitCollector
public class SubmitCollector : SingleValueCollector, Submittable, Closeable, @unchecked Sendable
A collector for form submission actions.
This class is used to handle the submission of a form, triggering the next step in the flow.
-
Resets the collector’s state by clearing its value.
Declaration
Swift
public func close() -
Returns the event type for this collector.
Declaration
Swift
public func eventType() -> StringReturn Value
A string representing the event type, which is “submit”.
View on GitHub