Skip to content

controller.js

andy.rothwell edited this page Oct 5, 2018 · 5 revisions

controller.js

The controller holds basic functions that are needed for an app. Many of these functions call other functions in router.js and data-manager.js

To call the functions use "this.$controller..."

Functions:

constructor(opts)

appDidLoad()

getMoreRecords(dataSource, highestPageRetrieved)

handleSearchFormSubmit(value)

handleMapClick(e)

handleTopicHeaderClick(topic)

goToDefaultAddress(address)

Clone this wiki locally