Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

cancel

Este artigo necessita de uma revisão técnica. Como posso ajudar.

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The cancel event is fired at a <dialog> when the user instructs the browser that they wish to dismiss the current open dialog. For example, the browser might fire this event when the user presses the Esc key or clicks a "Close dialog" button which is part of the browser's UI.

General info

Specification
WHATWG HTML Living Standard
The definition of 'cancel' in that specification.
Interface
Event
Bubbles
No
Cancelable
Yes
Target
Element
Default Action
Close the <dialog> which it was fired at

Properties

Being an Event, this event implements only the properties of this interface.

Methods

Being an Event, this event implements only the methods of this interface.

Specifications

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'cancel' in that specification.
Living Standard Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ? ?

See also

Etiquetas do documento e colaboradores

 Colaboradores desta página: rolfedh, cvrebert
 Última atualização por: rolfedh,