defining and documenting "onopenstart" and "onopenend" attributes

This commit is contained in:
Ralf Becker 2014-01-21 13:39:27 +00:00
parent 9f0f33e360
commit 81ed37dab5

View File

@ -62,6 +62,18 @@ var et2_tree = et2_inputWidget.extend(
"description": "Javascript executed when user checks a node"
},
// onChange event is mapped depending on multiple to onCheck or onSelect
onopenstart: {
"name": "onOpenStart",
"type": "js",
"default": et2_no_init,
"description": "Javascript function executed when user opens a node: function(_id, _widget, _hasChildren) returning true to allow opening!"
},
onopenend: {
"name": "onOpenEnd",
"type": "js",
"default": et2_no_init,
"description": "Javascript function executed when opening a node is finished: function(_id, _widget, _hasChildren)"
},
"image_path": {
"name": "Image directory",
"type": "string",