Nova.$on(${attribute}-change
, ... should emits "value" and "attribute" not only "value"
#6598
Unanswered
scramatte
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Nova.$on(
${attribute}-change
, ... should emits "value" and "attribute" not only "value"This apply to any event that is "variable" related. As you know, in pure javascript and object is returned with type and target.
If you want to listen all fields change and as is not wildcard listener supported (#6597), you need to create massively listeners.
If you are going to create them into a loop you need to know from where event comes from (which attribute).
To by pass this you need to create a closure with anonymous function that is not very elegant.
Regards
Beta Was this translation helpful? Give feedback.
All reactions