HELLO.How’s it going?
I’m Antonio Esquer and I’m a
freelance Interactive Developer.
This Blog is focus on Mobile , Web and Creative Technologist.
I like Animation,ActionScript,Art with code,Design,Flash,Fractals,Generative Art,Illustration,Interaction,Interface Design,JavaScript,Open Frameworks,Maths,Mobile Development,Motion Detection,Physics,Programming,Processing,Typography.

Blog / Post tagged: Code

Javascript Event Delegation1 comment

Code : Manage all your page with only one event

March 5th, 2014

From the dawn of history browsers have supported event delegation.
We will use event delegation to run all our web application just with one event !

Javascript Event Delegation

If you click on an element, the event will bubble all the way up to the document in search of event handlers to execute.

Event delegation allows you to avoid adding event listeners to specific nodes, instead, the event listener is added to one parent.

That event listener analyzes bubbled events to find a match on child elements.

» Keep Reading : Javascript Event Delegation