WAML - Web Application Markup Language
Posts 1-1 of 1
-
Evgenios Skitsanos Group moderatorThe company name is only visible to registered members.Working with events in WAML via JavaScript
Hi there folks!
There are little changes in Waml.Events section, now you have 3 functions to handle events:
Waml.Events.attach (DOM_Object, "event_name", handler_function()); - to attach event to dom object
Waml.Events.dettach (DOM_Object, "event_name", handler_function()); - to detach event from dom object;
Waml.Events.dettachAll (DOM_Object); - to detach all events from dom object
Example:
Waml.Events.attach(window, "load", function(){
alert("loaded");
});
To download Waml core, please look at
http://demos.skitsanos.com/waml/waml.js
- 07 Oct 2007, 5:55 pm
