Constructors
Accessors
Static
attributeNamespace
- get attributeNamespace(): Record<string, string>
Returns Record<string, string>
Static
svg
- get svg(): string
Returns string
Static
xlink
- get xlink(): string
Returns string
Static
xmlns
- get xmlns(): string
Returns string
Methods
Static
create
- create(
tag: string,
attributes?: Record<string, string | number>,
formatter?: (n: number) => string,
): SVGElement Parameters
- tag: string
Optional
attributes: Record<string, string | number>Optional
formatter: (n: number) => string
Returns SVGElement
Static
get
- get(node: SVGElement, attributeName: string): null | string
Parameters
- node: SVGElement
- attributeName: string
Returns null | string
Static
set
- set(
node: SVGElement,
attributes?: Record<string, string | number>,
formatter?: (n: number) => string,
): SVGElement Parameters
- node: SVGElement
Optional
attributes: Record<string, string | number>Optional
formatter: (n: number) => string
Returns SVGElement