Skip to Content
avatar image
Former Member

Can we handle route of a view even before that view is rendered?

Hi,

I am having problem with rendering a view because the value needed for variables in the view is being sent through URL/route.

But the view's createContent is rendered even before the control is passed to view's controller (where handleRouteMatched function resides) which throws error.

Is there a way we can handle route even before createContent is called?

Regards,

Chirag

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 30, 2015 at 07:04 AM

    why not to use events or promises/defferes?

    Add comment
    10|10000 characters needed characters exceeded