UNPKG

apex4x

Version:

The Comprehensive ARIA Development Suite

17 lines 1.28 kB
�� Event: "DOMContentLoaded" Description: Sets a handler to exicute when the DOM content completes loading. Returns: domElement, or $A object if chained. Note: Since this event is always on the window object, there is no specific target element needed when setting this event handler. When this event is set, it will automatically check if the DOM content is already loaded, and will execute immediately if so. Otherwise, the DOMContentLoaded event will be bound to the window object. Example: // Bind a DOMContentLoaded handler to the window object. $A.on("DOMContentLoaded", function(event) { // Do something. });