Framework7 Plugins API

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

    After we have our plugin, we need to install it on required Class. To install plugin we must call `.use()` method on class. For example, if this is an common Framework7 plugin:

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