pill icon indicating copy to clipboard operation
pill copied to clipboard

Plugins support

Open rumkin opened this issue 5 years ago • 0 comments

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.

rumkin avatar Sep 10 '19 00:09 rumkin