The delegateTarget method is applied as an event property on the main element that is selected. It is usually used with the on() function, whose selected element is the one on whom the property is applied.
In the following example we have a button inside a div. We select the div and apply the on function, clicking on the button inside creates a function where the delegateTarget method is applied, which delegates the css method on the div selected at the beginning.
Interesting Articles