webView(_:validate:defaultValidation:)
Returns a Boolean value that indicates whether the specified user interface item is valid.
Declaration
optional func webView(_ webView: WebView!, validate item: (any NSValidatedUserInterfaceItem)!, defaultValidation: Bool) -> BoolParameters
Return Value
true if the specified user interface item is valid; otherwise, false.
Discussion
See NSUserInterfaceValidations and NSValidatedUserInterfaceItem for more information about user interface validation. If you do not implement this method, the value of defaultValidation is used.