Dynamic Initialization

Initializing components on demand. This example shows how to dynamically initialize components by triggering contentloaded event.




<div class="generator">
<button class="generator__trigger">Generate alert</button>
</div>