Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

app.main

Leonardo Laureti edited this page Jul 22, 2019 · 4 revisions

app.main

"main" functions

<Object>

 

app.main.control

Init "main" function that fires when "main" is ready

<Function>

globals:

<Object> appe__config

arguments:

<Object> loc

returns.

position:

 

app.main.handle

Control "main" function handling requests, could return self prototype

<Function> prototype   constructor

avalaible prototype methods:

 - getID ()
 - setAction ()
 - getAction ()
 - setTitle (title)
 - getTitle ()
 - setMsg (msg)
 - getMsg ()
 - setURL (path, qs)
 - redirect ()
 - refresh ()
 - resize ()
 - selection ()
 - export ()
 - prepare ()
 - prevent ()
 - fetch ()
 - open () <=> prepare ()
 - add () <=> prepare ()
 - edit () <=> prepare ()
 - update () <=> prepare ()
 - delete () <=> prevent ()
 - close () <=> prevent ()
 - history (reset)
 - sender ()
 - receiver ()

globals:

<Object> appe__config
<Object> appe__main

arguments:

<Event> e

returns.

position:

 

app.main.action

Actions "main", returns self prototype

<Function> prototype   constructor

avalaible prototype methods:

 - isInitialized (funcName)
 - begin ()
 - end ()
 - menu (element)

globals:

<Object> appe__config
<Object> appe__main

arguments:

<Array> events
<String> event
<ElementNode> element

returns:

<Function> prototype

position:

 

app.main.load

Default "main" load function

<Function>

globals:

<Object> appe__config
<Object> appe__locale

returns.

position:

 

app.main.beforeunload

Default "main" before unload function

<Function>

returns:

<Boolean>

position:

 

app.main.loadComplete

Fires on "main" load complete

<Function>

globals:

<Object> appe__config

arguments:

<Object> routine

returns.

position:

 

app.main.setup

Setup "main" data

<Function>

globals:

<Object> appe__main

position:

 

Clone this wiki locally