API Documentation for: 1.1.2
Show:

Canteen.Page Class

Namespace: Canteen

The page object is extend by an page controllers

Item Index

Properties

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

Properties

active

Canteen.Site

If the page is currently active

site

Canteen.Site

The reference to the site

uri

String

The current page stub