web-plugin-interface
v3.2.0
Published
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/WezomAgency/web-plugin-interface/blob/master/LICENSE) [![npm](https://img.shields.io/badge/npm-install-orange.svg)](https://www.npmjs.com/package/web-plugin-interface) [!
Downloads
23
Readme
web-plugin-interface
A simple interface for implementing abstract factories.
These factories allow you to remove routine work, as well as to simplify the preparation and initialization of most web plug-ins: sliders, carousels, pop-up windows, etc.
Although in JavaScript, interfaces are not yet implemented by means of the syntax of the language, but we can follow the basic principles Interface ⇒ Abstract ⇒ Factory
.
When creating an abstraction, we must implement all the methods and properties of the interface. Which are initially empty and have no logic and code. The basis must be laid in an abstract class and brought to a final and typical concept in the classes of factories.
WebPluginInterface
has the core methods and properties that are key to working with most web plugins.