The current implementation only calls your custom logic when the hash changes. I'm not sure if there is a way to make that more generic, but maybe we'll start seeing a pattern as more folks implement routing in Royale apps.
-Alex On 2/6/18, 12:29 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: >Hi Alex, > >for "generic" I want to say that "routing" should be a framework feature >and we should have a library that could link and use with some API in >order >to make any royale app capable of use permalinks > >2018-02-05 17:15 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: > >> Regarding Routing. I don't know what "generic" means. There is now a >> bead that dispatches an event when the hash fragment changes. Logic in >> ASDoc processes that hash. Maybe there is some standard encoding we can >> pack in the hash that could map to view states or something, but it >>would >> make the hash uglier, IMO. >> >> Thoughts? >> -Alex >> >> On 2/5/18, 12:33 AM, "carlos.rov...@gmail.com on behalf of Carlos >>Rovira" >> <carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote: >> >> >Hi Alex, >> > >> >great work on this part. I'll try to build it localy and see if I can >> >tweak >> >a bit the look and feel to help with presentation as I get some free >>time. >> > >> >About routing, you made something generic for Royale? or is only made >>for >> >this ASDoc Reference App? >> > >> >Thanks >> > >> > >> > >> >2018-02-05 9:21 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: >> > >> >> >> >> >> >> On 2/4/18, 1:10 AM, "Gabe Harbs" <harbs.li...@gmail.com> wrote: >> >> >> >> >Typo. I meant js-reease. >> >> >> >> Yeah, at some later point in time someone should build Value Objects >>for >> >> the JSON and get js-release working. Maybe after this release. I'm >> >>just >> >> trying to make the ASDoc useful. >> >> >> >> I'm going to add Events to the class detail page and anchor links >>from >> >>the >> >> lists to the details and maybe a simple search-for-class feature, >>then I >> >> think it will be time for a release. >> >> >> >> -Alex >> >> > >> >> >> On Feb 4, 2018, at 8:08 AM, Alex Harui <aha...@adobe.com.INVALID> >> >> wrote: >> >> >> >> >> >>> 1. Why is bin-release not working? >> >> >> >> >> >> Do you mean SWF support? >> >> > >> >> >> >> >> > >> > >> >-- >> >Carlos Rovira >> >https://na01.safelinks.protection.outlook.com/?url= >> http%3A%2F%2Fabout.me%2 >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com% >> 7Cf2ee1b2fc0da463b8e8d08d5 >> >6c7345fa%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0% >> 7C636534164705226067&s >> >data=7lSe%2BtUKFNWRKCXKm8naElOEAwM17IUNNvjxHgGuAWU%3D&reserved=0 >> >> > > >-- >Carlos Rovira >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2 >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ccf00eb48d20844c6c35508d5 >6d3bd97b%7C71f1da39c0a84d5a8d88a67b23c30bf4%7C0%7C0%7C636535026179637700&s >data=smCu4I6xnB4mrgiICwy9bHZnO%2BdvOijuFumzASoy1vI%3D&reserved=0