Nasal: extend props.Node alias() API
Add optional argument to specify if lisenters should work on aliased properties or not. Current default is false for backwards compatability.
This commit is contained in:
parent
a301094022
commit
549507874b
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ var Node = {
|
|||
# current value of the node
|
||||
adjustValue : func _adjustValue(me._g, arg),
|
||||
unalias : func _unalias(me._g, arg),
|
||||
alias : func(n) _alias(me._g, [isa(n, Node) ? n._g : n]),
|
||||
alias : func(n, chainListener = 0) _alias(me._g, [isa(n, Node) ? n._g : n], chainListener),
|
||||
equals : func(n) _equals(me._g, [isa(n, Node) ? n._g : n]),
|
||||
clearValue : func _alias(me._g, [_globals()]) and me.unalias(),
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue