Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins support #17

Open
rumkin opened this issue Sep 10, 2019 · 0 comments
Open

Plugins support #17

rumkin opened this issue Sep 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@rumkin
Copy link
Owner

rumkin commented Sep 10, 2019

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant