From 7040e4bc9c98e0c50ce903a5cbeeabeda2ed908a Mon Sep 17 00:00:00 2001 From: julieng Date: Mon, 1 Nov 2021 07:51:27 +0100 Subject: move *.html to *.md --- files/fr/web/svg/attribute/events/index.md | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 files/fr/web/svg/attribute/events/index.md (limited to 'files/fr/web/svg/attribute/events/index.md') diff --git a/files/fr/web/svg/attribute/events/index.md b/files/fr/web/svg/attribute/events/index.md new file mode 100644 index 0000000000..b34fa715e6 --- /dev/null +++ b/files/fr/web/svg/attribute/events/index.md @@ -0,0 +1,41 @@ +--- +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