Getting started
What are plugins
- different types of plugins
How to create a plugin
Using the Plugin class
The Plugin class exists to provide an easy way to perform key actions like registering a new window, or subscribing to or sending application events. We recommend you always import the Plugin class at the beginning of your primary plugin code, not only because it is essential, but because the syntax is a little bit tricky:
const Plugin = module.parent.require('./classes/Plugin.js');
In the next few articles you may read about the different methods this class has, like Plugin.event.on()
or Plugin.window.register()
, among others.