Document Object

Document object is the data representation of the objects that comprise the structure and content of a document. All of the properties, methods, and events available in FrameworkJS for manipulating and creating can be organized into objects.

app.onDocumentReady()

The app.onDocumentReady() event called when html dom content loaded and the Document Object Model representation allows it to be manipulated. As an object-oriented representation of the web page, it can be modified.

  • Type: Function

    app.onDocumentReady = function () {};

  • Example
    Performing an on document ready function configuration inside the app.js:
    // on document ready event
    // called when html dom content loaded
    app.onDocumentReady = function () {
        // handle screen platform, handle footer menu items
    };