App / Core

    This constructor returns main app Framework7 instance.

    Lets look at the list of available parameters:

    These are default app parameters for app core module.

    Most of components that has JavaScript API may extend this list of parameters with the property named as component. For example Panel component extends app parameters with panel property that accepts Panel specific parameters.

    Example:

    Same as with app parameters most of components that has JavaScript API may extend this list of properties with the property named as component. For example Panel component extends app instance properties with panel property that accepts Panel specific properties and methods.

    Example:

    1. // Open panel
    2. app.panel.open('left');
    3. // Hide statusbar
    4. app.statusbar.hide();

    App instance emits the following core events:

    Example:

    1. app.on('panelOpen', function (panel) {