Skip to content

Routing #3

@ctoesca

Description

@ctoesca

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions