javascript - Does Jquery Trigger and Bind do that same as Publisher and Subscriber? -
i have implement simple publisher , subscriber using javascript. came across jquery trigger , bind. trigger , bind same publisher , subscriber....
yes, in way. event handling trigger()
, bind()
use publish/subscribe pattern. these functions work jquery objects only, not javascript objects.
Comments
Post a Comment