Skip to content

Software architecture design: classes

emi420 edited this page Feb 10, 2014 · 42 revisions

Public objects

window.m object

context object

app function ([options array])

Returns App instance

window.Mootor object

ns function

Return object

mod function (name string)

Return object

Public prototypes

App

settings object

history array

view function (id string, [settings object])

Returns View instance

go function (string id)

Returns route instance

back function

Returns route instance

forward *function

Returns route instance

router object

Returns router instance

View

ui object

title function ([title string])

Returns undefined

on function (event string, callback function)

Returns View instance

off function (event string[, callback function])

Returns View instance

remove function

Return View instance

insert function

Return View instance

html function ([source string])

Return string

script function ([source string])

Return string

css function ([source string])

Return string

UI

el HTMLElement

show function

Returns UI instance

hide function

Returns UI instance

UIApp

loading function

Returns boolean

UIView

view View instance

Returns UIView instance

UIPanel

position function ([position object])

Returns object

size function ([size object])

Returns object

blocked function ([blocked boolean])

Returns boolean

transition function ([transition string])

Returns string

Router

route function (options object)

return Route instance

Route

url string

params *function ([params array])

Returns array

view function ([view View instance])

Returns View instance

UINavBar

nav object

position function (position string)

Returns UINavBar instance

UIHeader

title function ([title string])

Returns string

UINavItem

blocked function ([blocked boolean])

Returns UINavItem instance

position function ([position string])

Returns UINavItem instance

UILoading

style function ([options object])

Returns UILoading instance

Clone this wiki locally