Skip to content

Software architecture design: classes

emi420 edited this page Feb 19, 2014 · 42 revisions

Stage A, Issue #21

Software architecture design

https://github.com/emi420/Mootor/issues/21

Public objects

window.m object

context object

app function ([options array])

Returns App instance

window.Mootor object

Type object

Public prototypes

App

history array

version function ([version string])

Returns string

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

route 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

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

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)