>
> if you dispose the div does it remove the event listener?
>

no


> if you destroy the div div does it remove the event listener?
>

yes


> now the same question but with children of the div - ie does
> destroying or disposing a parent div remove the event listeners from
> the divs children?
>

same answers. dispose: no, destroy: yes.

You should just go look at the code to find this answer. You'll learn a lot
(though it's fine of you to ask here, just saying this is a good reason to
go read the source).

Reply via email to