(text, duration)
| 275 | return false; |
| 276 | }, |
| 277 | setText(text, duration) { |
| 278 | if (div) { |
| 279 | div.innerHTML = createTrustedHtml(text); |
| 280 | if (duration) closeAfter(duration); |
| 281 | return true; |
| 282 | } |
| 283 | return false; |
| 284 | }, |
| 285 | setPosition(x, y) { |
| 286 | if (div) { |
| 287 | div.style.left = `${x}px`; |
no test coverage detected