|
From: James T. <ja...@fl...> - 2023-06-13 15:17:41
|
> On 12 Jun 2023, at 20:41, James Turner <ja...@fl...> wrote: > > Anyway, I’ve found a solution which doesn’t increase the size at all, and seems to work, just testing with FG now. > This is pushed now, props.Node.alias() accepts an optional second argument. If that arg is non-zero, then the alias will fire listeners correctly. (The default value is 0, i.e the previous behaviour for compat) I’ve also extended the ‘listener safe’ flag on properties so if you listen to an alias property which was not defined with the listener support enabled, you will get a console message warning that your listener won’t work, same as we already do for tied properties. We could *probably* default to enabling listeners on aliases, comments on that welcome. Kind regards, James |