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

mod object

ns function (name string)

Return object

Public prototypes

App

history array

settings function (key string, [value object])

Returns object

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

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


Authors:

  • Emilio Mariscal (emi420 [at] gmail.com)
  • Martín Szyszlican (martinsz [at] gmail.com)
Clone this wiki locally