(selector, keyringId, options)
| 10 | |
| 11 | export default class EditorContainer { |
| 12 | constructor(selector, keyringId, options) { |
| 13 | this.selector = selector; |
| 14 | this.keyringId = keyringId; |
| 15 | this.options = options; |
| 16 | this.id = getUUID(); |
| 17 | this.port = EventHandler.connect(`editorCont-${this.id}`, this); |
| 18 | this.registerEventListener(); |
| 19 | this.parent = null; |
| 20 | this.container = null; |
| 21 | } |
| 22 | |
| 23 | create() { |
| 24 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected