1/** 2 * Wait for all animations to complete their promises 3 * @param element 4 * @returns 5 */ 6async function animationsComplete(element) { 7 return Promise.allSettled( 8 element.getAnimations().map((animation) => animation.finished), 9 ) 10}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.