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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -