Description
After loading the DOM, some parts must be initialized with JavaScript.
There should be callback registry, to put custom code in.
In the moment e.g. the init function for the tree is not in the tobago-tree.js, but in the tobago.js, because there is no registry.
The registry should have (at least) 3 possible events:
documentReady (after the DOM was build)
windowLoad (after all images and css was loaded)
afterUpdate (after an AJAX call)
Attachments
Issue Links
- relates to
-
TOBAGO-1197 Tobago.registerListener() needs to support an "order" parameter
- Closed
-
TOBAGO-1190 Add JavaScript listener for the BEFORE_SUBMIT phase
- Closed
-
TOBAGO-1198 Possibility to register JavaScript functions for onexit and onunload as a replacement for the tc:script attributes
- Closed