Hi, @Harbs <[email protected]> . Is the feature "Router" or "Routing"?
I presumed "Routing", the way the Flex feature was "deep linking".  There
is a page for its documentation here [1], and I can rename it if I guessed
wrong about the feature name.

There is also a step on routing in the basic tutorial waiting to be
completed [2]. I can work on that if you can provide material for the first
page I mentioned.



Andrew

[1] https://github.com/apache/royale-docs/blob/master/features/routing.md

[2]
https://github.com/apache/royale-docs/blob/master/create-an-application/application-tutorial/routing.md

On Mon, Feb 10, 2020 at 9:03 AM Harbs <[email protected]> wrote:

> I have reworked Router in the feature/router branch to be more PAYG and I
> think it ended up more expressive and powerful.
>
> Router can be declared with different behavior beads to handle different
> routing needs.
>
> There’s currently:
> StateRouting which automatically has two way syncing of the state and the
> route.
> ComponentRouting which automatically adds and removes components based on
> the route.
> ParameterRouting which executed functions depending on the specified
> parameters.
> Title is handled in a bead too.
>
>
> I still need to finish the following:
> 1. Catch hash links and redirect without reloading the window. There’s a
> skeleton bead for this, but it’s not yet functional.
> 2. Sub-hash routing which scrolls to a specific window position based on
> hash.
>
> I’m open to other suggestions.
>
> I believe the branch is ready to merge, but I’m not sure if Maven will
> currently build (specifically because I changed Storage and it now relies
> on Network and in turn Reflection). If one of the Maven folks could
> confirm, I’d appreciate it.
>
> Thanks,
> Harbs



-- 
Andrew Wetmore

http://cottage14.blogspot.com/

Reply via email to