I created some elements using document.createElement()
in the constructor of my pluginView. And then I added event listeners to them.
Is it necessary to remove their event listeners in the destroyed()
method? or are they literally get removed so I don’t have to take care of the listeners.