rgrove / jquery-yui3-rosetta-stone

A guide to idioms in YUI 3 and jQuery.
BSD 3-Clause "New" or "Revised" License
65 stars 20 forks source link

Should cover event triggering #2

Closed balupton closed 13 years ago

balupton commented 13 years ago

Should cover event triggering/firing/simulating whatever, for native and custom events.

For instance http://jsfiddle.net/balupton/862Lg/ and http://jsfiddle.net/balupton/tFbum/ do not work together.

lsmith commented 13 years ago

jQuery blurs the line between DOM related events and functional events. There are separate APIs for these in YUI: node.simulate('click');

vs node.fire('valueChange', payload);

rgrove commented 13 years ago

@drgath covered event simulation in cbf18704cfcf93815b21c9532e14e67c55089f45.