Safari Developer Library

Developer

SafariValidateEvent Class Reference

Options
Deployment Target:

On This Page

SafariValidateEvent

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.

    Declaration

    readonly attribute DOMString command