@private
(id, armored, options)
| 166 | |
| 167 | /** @private */ |
| 168 | async createContainer(id, armored, options) { |
| 169 | try { |
| 170 | const {error} = await window.mailvelope.createDisplayContainer(`#${id}`, armored, null, options); |
| 171 | if (error) { |
| 172 | return this.onError(error); |
| 173 | } |
| 174 | this.onReady(); |
| 175 | } catch (e) { |
| 176 | this.onError(e); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | /** @private */ |
| 181 | onReady() { |
no test coverage detected