Safari Developer Library


SafariValidateEvent Class Reference

Deployment Target:

On This Page


Instances of the SafariValidateEvent class encapsulate a validate event. User interface elements such as contextual menu items and toolbar buttons send a validate event when they are about to display. You can prevent the element from displaying by listening for validate events and marking the element as disabled.

The event type for this class is validate.

  • command Property

    The command identifier of the target being validated.


    readonly attribute DOMString command