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/api/svgstylable/index.html | 97 +++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 files/fr/web/api/svgstylable/index.html (limited to 'files/fr/web/api/svgstylable') diff --git a/files/fr/web/api/svgstylable/index.html b/files/fr/web/api/svgstylable/index.html new file mode 100644 index 0000000000..7bb1f743fa --- /dev/null +++ b/files/fr/web/api/svgstylable/index.html @@ -0,0 +1,97 @@ +--- +title: SVGStylable +slug: Web/API/SVGStylable +tags: + - API + - Reference + - SVG + - SVG DOM +translation_of: Web/API/SVGStylable +--- +
{{APIRef("SVG")}}
+ +

Interface SVG stylisable

+ +

L'interface SVGStylable est implémentée sur tout les objets SVG pouvant avoir des attributs {{ SVGAttr("style") }}, {{SVGAttr("class")}} ou d'autre attributs modifiants leur présentation, leur affichage.

+ +

Aperçu de l'interface

+ + + + + + + + + + + + + + + + + + + + +
Implémente aussi/
Métodes +
    +
  • {{ domxref("CSSValue") }} getPresentationAttribute(in {{ domxref("DOMString") }} name)
  • +
+
Propriétés +
    +
  • readonly {{ domxref("SVGAnimatedString") }} className
  • +
  • readonly {{ domxref("CSSStyleDeclaration") }} style
  • +
+
NormeSVG 1.1 (2e Édition)
+ +

Propriétés

+ + + + + + + + + + + + + + + + + + + + + +
NomTypeDescription
className{{ domxref("SVGAnimatedString") }}Correspond à l'attribut {{ SVGAttr("class") }} de l'élément donné.
style{{ domxref("CSSStyleDeclaration") }}Correspond à l'attribut {{ SVGAttr("style") }} de l'élément donné.
+ +

Métodes

+ + + + + + + + + + + + + + + + +
Nom & ArgumentsRetourneDescription
getPresentationAttribute(in {{ domxref("DOMString") }} name){{ domxref("CSSValue") }}Retourne la valeur par défaut (ex: static) d'un attribut de présentation donné comme un objet de type {{ domxref("CSSValue") }}.
+ The returned object is live; changes to the objects represent immediate changes to the objects to which the {{ domxref("CSSValue") }} is attached.
+ +

Compatibilité entre les navigateurs

+ + + +

{{Compat("api.SVGStylable")}}

-- cgit v1.2.3-54-g00ecf