↑ look at project
1.1.6 Added bubble type listener for action and behavior as data-content-changed-action, data-content-changed-behavior, data-visibility-changed-action and data-visibility-changed-behavior. Added $elm and element to code execution even if not used in conjunction with Hype Action Events
In addition to the custom behavior listener approach, you can now listen to content or visibility changes based on setting a data attribute. These attributes are now supported data-content-changed-action
, data-content-changed-behavior
, data-visibility-changed-action
and data-visibility-changed-behavior
. The action version run the code if a change is registered on any DOM element below the declaration (hence, bubble type). The same is true for the behavior versions. These new listeners react to DOM changes vs. the already existing behavior listeners that react to data changes.
The other new thing is that code executed now supports $elm
or element
even without loading Hype Action Events.