-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I frequently call modals from various places and usually pass in some params that modify what is displayed in the modal content.
vue-js-modal's show() method contains an optional params argument, which can be used for this purpose.
In vue-final-modal, there is no such parameter. What is the recommended solution you use for this? Passing props to a higher order component? I wouldn't like that much as it result in a lot of extra bindings and calls in the component that is using the higher order component.
Describe the solution you'd like
Adding params to the show() function and including those values in the @before-open event is a tried and tested solution, but maybe you have other ideas.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request