ComplexSvgKeys

trait ComplexSvgKeys[ClassNameA]

This trait gives you a very flexible way to define SVG keys that consuming libraries often have strong opinions about.

This trait gives you a very flexible way to define SVG keys that consuming libraries often have strong opinions about.

Use canonical.CanonicalComplexHtmlKeys if you lack such strong opinions.

If your opinions are too strong to use this trait – don't! You can implement any subset of these keys yourself with whatever names you like.

class Object
trait Matchable
class Any

Value members

Abstract methods

def className: ClassNameA

Assigns a class name or set of class names to an element. You may assign the same class name or names to any number of elements. If you specify multiple class names, they must be separated by whitespace characters. The class name of an element has two key roles: -As a style sheet selector, for use when an author wants to assign style information to a set of elements. -For general usage by the browser. The class can be used to style SVG content using CSS.

Assigns a class name or set of class names to an element. You may assign the same class name or names to any number of elements. If you specify multiple class names, they must be separated by whitespace characters. The class name of an element has two key roles: -As a style sheet selector, for use when an author wants to assign style information to a set of elements. -For general usage by the browser. The class can be used to style SVG content using CSS.

Value

MDN

Concrete fields

lazy val cls: ClassNameA