()
| 776 | |
| 777 | Tether.modules.push({ |
| 778 | initialize() { |
| 779 | const { classes, classPrefix } = this.options; |
| 780 | this.markers = {}; |
| 781 | |
| 782 | ['target', 'element'].forEach((type) => { |
| 783 | const el = document.createElement('div'); |
| 784 | el.className = getClass(`${type}-marker`, classes, classPrefix); |
| 785 | |
| 786 | const dot = document.createElement('div'); |
| 787 | dot.className = getClass('marker-dot', classes, classPrefix); |
| 788 | el.appendChild(dot); |
| 789 | |
| 790 | this[type].appendChild(el); |
| 791 | |
| 792 | this.markers[type] = { dot, el }; |
| 793 | }); |
| 794 | }, |
| 795 | |
| 796 | destroy() { |
| 797 | ['target', 'element'].forEach((type) => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…