HubSpot / vex

A modern dialog library which is highly configurable and easy to style. #hubspot-open-source
http://github.hubspot.com/vex/docs/welcome
MIT License
6.92k stars 491 forks source link

Plugin system shouldn't require a name #259

Open bbatliner opened 6 years ago

bbatliner commented 6 years ago

The new plugin vex-dialog-promise is a good use case for a plugin that doesn't need or want to add a new property to the vex namespace, e.g. vex.dialogPromise. This plugin is more transient in the sense that it modifies the existing vex API, in this case to promisify some of the methods.

A revision to the registerPlugin method will probably be necessary.