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:
// Open panel
app.panel.open('left');
// Hide statusbar
app.statusbar.hide();
App instance emits the following core events:
Example:
app.on('panelOpen', function (panel) {