This article demonstrates the power of JET’s busy context concept. The busy context API provides the developer with an elegant way to check if a custom web component has been completely loaded into the DOM and is READY to perform its duties.
To illustrate this feature, I have a sample application, which has two custom components: user-component-one and user-component-two. On the click of a button, I populate an knockout observable-array variable with some metadata which loads both these components twice. As I am looping through my array, I am also interested to access a method from each of the components. And this is where I have my problem! As soon as I try to access a method on the web components, while they are still being loaded, I get the following error: Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.