Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Latest commit

 

History

History
6 lines (5 loc) · 431 Bytes

execution.md

File metadata and controls

6 lines (5 loc) · 431 Bytes

Execution sequence

The execution sequence begins with the function processLotties(), which is triggered at window.onLoad. This function iterates through all the elements with the tag name 'lottie-player'. In every iteration, the relevant attributes from the respective 'lottie-player' element is extracted and getJson() is fired for each element with all the attribute data. getJson() fires an XMLHttpRequest() to load