Safari Reference Library Apple Developer
Search

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



Last updated: 2010-07-13

Did this document help you? Yes It's good, but... Not helpful...