Framework7 Plugins API

    It is based on expandable Classes. Every JavaScript class (component) that is used in Framework7 is expandable.

    First of all let’s look at the basic plugin’s JS structure. It is basically an object:

    Plugin must be installed before class initialization (before calling new Framework7())

    Let’s create simple Debug demo plugin. It will do nothing, just log some events:

    Lazy Modules →