MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / toggleIcon

Method toggleIcon

src/content-scripts/extractFrame.js:132–137  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

130 }
131
132 toggleIcon(callback) {
133 if (callback) {
134 this.eFrame.addEventListener('transitionend', callback, {once: true});
135 }
136 this.eFrame.classList.toggle('m-open');
137 }
138
139 setFrameDim() {
140 const {width, height} = this.pgpRange.getBoundingClientRect();

Callers 4

clickHandlerMethod · 0.95
removeDialogMethod · 0.80
removeDialogMethod · 0.80

Calls 1

toggleMethod · 0.80

Tested by

no test coverage detected