MCPcopy Index your code
hub / github.com/shipshapecode/tether / _removeClasses

Method _removeClasses

src/js/tether.js:757–768  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

755 }
756
757 _removeClasses() {
758 const { classes, classPrefix } = this.options;
759 removeClass(this.element, getClass('element', classes, classPrefix));
760 if (!(this.options.addTargetClasses === false)) {
761 removeClass(this.target, getClass('target', classes, classPrefix));
762 }
763
764 this.all.forEach((className) => {
765 this.element.classList.remove(className);
766 this.target.classList.remove(className);
767 });
768 }
769}
770
771TetherClass.modules = [];

Callers 1

destroyMethod · 0.95

Calls 2

removeClassFunction · 0.90
getClassFunction · 0.90

Tested by

no test coverage detected