Canteen.Page Class
The page object is extend by an page controllers
Methods
enter
()
Called by the site. This enters the page. Any initialization should happen here
exit
()
Called by the site, exits this page any memory cleanup/unbind should happen here
refresh
()
Boolean
Called when the location has been updated, but not the page for instance, if a dynamic page changes.
Returns:
Boolean:
If there should be a hard site refresh
resize
()
Resize function called by the site