dom_token_list-functions-class_list_monitor
v1.0.0
Published
Monitor for changes in the ClassList of an Element
Downloads
4
Maintainers
Readme
classListMonitor
Monitor for changes in the ClassList of an Element
You can capture changes to the class list with event.target.detail.oldClassList and compare with the current element values in element.classList. Only bind this Event to the elements that require monitoring.
You can stop the monitoring process with