1
0
Fork 0

canvas/api/element.nas add getType

This commit is contained in:
Henning Stahlke 2020-04-29 17:30:44 +02:00 committed by James Turner
parent e16bf79e91
commit 551f4dab62

View file

@ -20,6 +20,10 @@ var Element = {
return obj;
},
getType: func () {
return me._node.getName();
},
# Get parent group/element
getParent: func() {
var parent_ghost = me._getParent();