pill
pill copied to clipboard
Plugins support
Make plugins support with Options builder class. Which has instance method Options#toObject()
which returns Pill constructor's options argument.
type OptionsObj = {
// Pill's constructor options props
}
class Options {
toObject(): OptionsObj;
}
It allows implement custom Pill configurations, including extensible with plugins.
Related questions:
- Plugin template repository.
- Homogeneous plugin structure.