From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/svg/attribute/events/index.html | 43 ++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 files/fr/web/svg/attribute/events/index.html (limited to 'files/fr/web/svg/attribute/events/index.html') diff --git a/files/fr/web/svg/attribute/events/index.html b/files/fr/web/svg/attribute/events/index.html new file mode 100644 index 0000000000..0c1faf098d --- /dev/null +++ b/files/fr/web/svg/attribute/events/index.html @@ -0,0 +1,43 @@ +--- +title: Attributs d'événements des SVG +slug: Web/SVG/Attribute/Events +tags: + - Event + - SVG +translation_of: Web/SVG/Attribute/Events +--- +

Tout attribut d'événement a un nom qui commence par "on" suivit du nom de l'événement auquel il est rattaché. Ces attributs spécifient quel script exécuter lorsque l'événement du type donné est déclenché sur l'élément.

+ +

SVG prend en charge tous les types d'événement pris en charge par le navigateur, en suivant les mêmes spécifications que les attributs d'événement HTML.

+ +

Les attributs d'événements globaux sont disponibles sur tous les éléments SVG. Les autres attributs d'événement sont disponible au cas par cas sur les différents éléments.

+ +

Tous les attributs d'événements ne peuvent pas être animés.

+ +

Attributs

+ +

Attributs d'événement d'animation

+ +

onbegin, onend, onrepeat

+ +

Attributs d'événement du document

+ +

onabort, onerror, onresize, onscroll, onunload

+ +

Attributs d'événement des éléments du document

+ +

oncopy, oncut, onpaste

+ +

Attributs d'événement globaux

+ +

oncancel, oncanplay, oncanplaythrough, onchange, onclick, onclose, oncuechange, ondblclick, ondrag, ondragend, ondragenter, ondragexit, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting

+ +

Attributs d'événement graphiques

+ +

onactivate, onfocusin, onfocusout

+ +

Compatibilité des navigateurs

+ + + +

{{Compat("svg.attributes.events")}}

-- cgit v1.2.3-54-g00ecf