3. GvaScriptHome Current Version 1.19 CPAN http://search.cpan.org/dist/Alien-GvaScript/lib/Alien/GvaScript.pm GoogleCode http://code.google.com/p/gvascript/
5. GvaScript-> Prototype core extends prototype framework fills in the blanks where prototype left off
6. GvaScriptCore events delegation binds a handler to an event for elements matching a selector Event.register&Event.unregister Element#register& Element#unregister document.register&document.unregister
7. GvaScriptCore keyboard events handling GvaScript.KeyMap class binds a handler to a sequence of keys for a given element/document
8. GvaScriptCore JSONP support Prototype.getJSON(url, callback) loads a JSON from a remote URL when ready -> callback(json_data)
15. GvaScriptTreeNavigator Easy keyboard navigation Arrows keys Tab / Shift-Tab Find as you type + & - to open & close * & / to explode & fold … Support node lazy loading Support node HTML content
17. GvaScriptCustomButtons Neat rendering of buttons (CSS) Hover / Focus styling Easy navigation with keys Tab / Shift-Tab Right / Left arrows Can have a type submit reset Or an explicit callback => DEMO
18. GvaScriptGrid JSON datasource Paginated Easy navigation with keys Up / Down arrows Home / End Right / Left arrows PageUp / PageDn Ctrl-Home / Ctrl-End Easy inclusion of CustomButtons
20. GvaScriptForm JSON datasource Helpers to serialize/de-serialize form data GvaScript.Form#fill_from_tree GvaScript.Form#to_hash GvaScript.Form#to_tree Easy inclusion of custom buttons
21. GvaScriptForm Support for repeatable sections GvaScript.Form.add('authors') GvaScript.Form.remove('authors.1')
22. GvaScriptForm Uses event delegation to register events on the form level Supports all W3C standard events click, mouseover, mouseout, focus, blur, change … Supports a custom event ‘init’ on form controls ‘init’ gets fired when a control gets initialized with GvaScript.Form#init
25. GvaScriptForm new GvaScript.Form(...) onInit control change onChange form.submit() onBeforeSubmit [return false] ? onSubmit form.destroy() onBeforeDestroy
26. GvaScriptForm#fire Use fire method to fire custom events GvaScript.Form#fire(‘XYZ’, arg) calls onXYZ callback if any passes instance as a first argument arg goes second
29. Form Event execution chain form.fire('XYZ'[, arg]) EarlyResponders Responders callback Execution chain will stop whenever *any* of the responders or instance callback returns *false*
30. GvaScriptForm Responders Global Responders can be used to Define global behavior of forms Plugin form validation Plugin form control masking … => DEMO
32. i18n Use GvaScript.KeyMap to extend DOM elements with Element#keyListen(keyRegex, handler) Element#stopKeyListening(keyRegex[, handler]) You tell me ...