()
| 910 | } |
| 911 | // check if all child elements are ready |
| 912 | whenElemsReady() { |
| 913 | let elemsReady = []; |
| 914 | let target = this.src ? this.shadowRoot : this; |
| 915 | for (let elem of [ |
| 916 | ...target.querySelectorAll('map-extent'), |
| 917 | ...target.querySelectorAll('map-feature') |
| 918 | ]) { |
| 919 | elemsReady.push(elem.whenReady()); |
| 920 | } |
| 921 | return Promise.allSettled(elemsReady); |
| 922 | } |
| 923 | } |
no test coverage detected