-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
The components can manage there state with hash route (enableHashManager:true) on the component properties.
For example:
One component can do:
this.setHash("home")
Another component can do:
this.setHash("tabPane1")
the hash in the browser will be:
compo1=home&compo2=tabPane1
If the hash of a component changes, the function onHashChange(hash) will be fired on this component.
The problem is that we can only set a simple "string" hash for each component.
Sometimes, it's userful for a component to store more info.