Visual.onParameterChanged(callback) Method (JS)
Registers a function to be called whenever the routing parameter is changed.
This is typically used in conjunction with the Router type that allows parameters to be specified in the Router.goto and Router.push operations.
Example
This method is deprecated - use the following pattern instead:
<Panel ux:Name="channelView">
<JavaScript>
channelView.Parameter.onValueChanged(module, function(param) {
// lookup channel with id "param"
})
</JavaScript>
Location
- Namespace
- Fuse
- Package
- Fuse.Nodes 2.9.1