AppInit

Description

Defines hooks to assist with module initialization.

This module defines 2 methods for client modules to attach callbacks:

  • htmlReady - When the main application template is rendered
  • appReady - When Brackets completes loading all modules and extensions

These are not jQuery events. Each method is similar to $(document).ready in that it will call the handler immediately if brackets is already done loading.

Functions Summary

Functions

Public API

appReady

Adds a callback for the ready hook. Handlers are called after htmlReady is done, the initial project is loaded, and all extensions are loaded.

handler function
Public API

domReady

Adds a callback for the domReady hook. Handlers are called after all the dynamic DOM construction is completed.

handler function
Public API

htmlReady

Adds a callback for the htmlReady hook. Handlers are called after the index.html is load.

handler function