Does Sammy have an event that gets triggered when a user moves away from a certain route?
Obviously this.get or this.post gets triggered when a route is navigated to. Is there the opposite? Something like this.getAway so that the view corresponding to that route can be destroyed in an elegant user defined manner?
Does Sammy have an event that gets triggered when a user moves away from a certain route?
Obviously
this.get
orthis.post
gets triggered when a route is navigated to. Is there the opposite? Something likethis.getAway
so that the view corresponding to that route can be destroyed in an elegant user defined manner?