Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


I faced the problem that the blue color filter has to be applied whenever an element is removed or added to the DOM. To do that I used a Mutation Observer ( This was a new feature for since it has been released in 2015. I found it quite useful an quickly solved my problem. I even used it to track an element's attribute to determine if the UI panel is opened and then add/remove a class to the responsive hide/show button to style it properly.