Wraps an element in a g element and adds special methods to control children
- Source:
Methods
(static) append(svgElem) → {SVGBlock}
Appends an element
Parameters:
Name | Type | Description |
---|---|---|
svgElem |
SVGElement |
- Source:
Returns:
- Type
- SVGBlock
(static) appendElem(node)
Appends svg node
Parameters:
Name | Type | Description |
---|---|---|
node |
SVGNode |
- Source:
(static) hide()
Hides an element and all children
- Source:
(static) remove(svgElem) → {SVGBlock}
Removes an svg element
Parameters:
Name | Type | Description |
---|---|---|
svgElem |
SVGElement |
- Source:
Returns:
- Type
- SVGBlock
(static) removeElem(node)
Removes svg node
Parameters:
Name | Type | Description |
---|---|---|
node |
SVGNode |
- Source:
(static) show()
Shows an element and all children
- Source: