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

Method _addClasses

src/js/tether.js:749–755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

747 }
748
749 _addClasses() {
750 const { classes, classPrefix } = this.options;
751 addClass(this.element, getClass('element', classes, classPrefix));
752 if (!(this.options.addTargetClasses === false)) {
753 addClass(this.target, getClass('target', classes, classPrefix));
754 }
755 }
756
757 _removeClasses() {
758 const { classes, classPrefix } = this.options;

Callers 1

setOptionsMethod · 0.95

Calls 2

addClassFunction · 0.90
getClassFunction · 0.90

Tested by

no test coverage detected