SafariValidateEvent Class Reference

Inherits from
Technology area
Safari Extensions
Availability
Available in Safari 5.0 and later.

Overview

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.

Tasks

Working with Validation Events

Properties

command

The command identifier of the target being validated.

readonly attribute DOMString command
Availability