API Docs for:
Show:

window.m

Defined in: js/mootor.js:22
Module: Mootor

static

Summary

m public global object

Item Index

Methods

Properties

Methods

app

Provided by the App module.

Defined in js/app.js:179

Syntax

app

(
  • [views]
)

Summary

Creates a new app with the defined options. If the app is already created, it can be called without options to have a reference to the Mootor app.

App instance factory

Parameters:

  • [views] Array optional

    A list of view names to be initialized

Returns:

App

Example:

window.m.app({
  views: [
     "index",
     "view1"
  ]
});

Properties

context

Provided by the App module.

Defined in js/context.js:102

Syntax

context

Context

Summary