| 12 | |
| 13 | export default class ExtractFrame { |
| 14 | constructor() { |
| 15 | this.id = getUUID(); |
| 16 | // range element with armored message |
| 17 | this.pgpRange = null; |
| 18 | // HTMLElement that contains complete ASCII Armored Message |
| 19 | this.pgpElement = null; |
| 20 | this.domIntersectionObserver = null; |
| 21 | this.eFrame = null; |
| 22 | this.shadowRootElem = null; |
| 23 | this.port = null; |
| 24 | this.currentProvider = currentProvider; |
| 25 | this.clickHandler = this.clickHandler.bind(this); |
| 26 | this.setFrameDim = this.setFrameDim.bind(this); |
| 27 | } |
| 28 | |
| 29 | attachTo(pgpRange) { |
| 30 | this.init(pgpRange); |