Return HOME
Events consist of browser interrupts available for assigning operations.
Actions consist in the assigned operation for the events.
EVENTS:
initialData - data initial state w/label
initialEmpty - data initial state wo/label, defaults: initialData
mouseover - mouseover event
mousedown - mousedown event, defaults: mouseover
mouseup - mouseup event, defaults: mouseover
mouseleave - mouseleave event, defaults: mouseout
mouseout - mouseout event, defaults: initialData
click - click event, defaults: mouseover
clickmiddle - mousedown event with middle button, defaults: mouseover
clickright - mousedown event with right button, defaults: mouseover
NOTE:
The 'initialData' and 'initialEmpty' are not events. They consist of the initial attributes of the cells.
The 'initialData' will be assigned to cells with label data.
The 'initialEmpty' will be assigned to cells with no label data, if omitted it will assume the attributes of 'initialData'.
ACTIONS:
The actions can be assigned in the 'dataset' section, 'cell event section' or 'cell section', where the 'dataset section' have preference to assign. Only one assign can be done, the an others will be ignored.
ACTIONS TYPE:
ACTIONS ATTRIBUTES:
Call Functions:
action: use functions names
args: arguments
Submit Forms:
action: use the string '#submit',
name: (in dataset or event) the is 'formname' in tag <form></form>, tag must be defined in html
Top of Windows:
action: use the string '#top-of-body'
Bottom of Windows:
action: use the string '#bottom-of-body'
Secondary Menus:
action: use the string '#menu',
menu: 'menuitem'
menuAlign: must be 'cell', 'menu' or 'window'
menuX: must be 0 until 1 (0%~100% relative of left-right menuALign)
menuY: must be o until 1 (0%~100% relative of top-bottom menuALign)
menuCloseAfterDone: true|false (force close main menu after openned secondary)
menuIgnoreClickOut: true|false (ignore click out of cell to close)
External URL:
action: us the string 'http|https://[url]'
method: 'fetch' (defaults: 'rest', the defaults is 'call rest format')
newpage: true|false (defaults: true)
args: arguments of https
Call REST:
action: us the string 'http|https://[url]'
method: 'rest'
newpage: true|false (defaults: true)
args: arguments of https
Call Functions ARGUMENTS:
- 1st: Event Argument (browser standard)
- 2nd: jMenu Arguments
event: jmenu_event
menu: Menu Name
id: data.id information
item: DOMelement id
target: DOM element in the Window
data: Dataset information
sync:
hop: Sequence# (hop=0, first message based on event)
item: syncItem
menu: syncMenu
run: syncRun
disabled: true|false, true sync is not running
ENDED