Added object list to layers panel (#466)

Co-authored-by: Timo Dittmann <timo.dittmann@kaufland.com>
This commit is contained in:
Timo Dittmann
2021-01-16 13:34:25 +01:00
committed by GitHub
parent ded5e11e80
commit c0f55416a3
7 changed files with 186 additions and 23 deletions

View File

@@ -146,6 +146,14 @@ class Layer {
}
}
/**
* Returns all children of this layer.
* @returns {NodeListOf<ChildNode>} The children of this layer.
*/
getChildren () {
return this.group_.childNodes;
}
/**
* @returns {SVGTitleElement|null}
*/