Hi Raymond,
Quite like Button widget. Though I forget my dynapi basics.
How does this work?
btn.onbuttonclick = function(e){
window.status = cnt++;
}
I found:
o.invokeEvent('buttonclick');
in ButtonStyle.js on a mouseup. OK but I was expecting:
btn.addEventListener({
onbuttonclick : function(e) {window.status = cnt++;}
});
is this the same thing? I need to re-learn the core dynapi :(
I believe you are going back to a traditional widget model
will interface and events stay the same?
-
Kevin
|