I want to add "this.modal.open()". API to Modal, without icons, with hideFooter, maskClosable and other props.
This will allow you to call modal windows from methods, rather than a template. And use a single api and have a callback in code.
I can make such a pull request.
What problem does this feature solve?
I want to add "this.modal.open()". API to Modal, without icons, with hideFooter, maskClosable and other props. This will allow you to call modal windows from methods, rather than a template. And use a single api and have a callback in code. I can make such a pull request.
What does the proposed API look like?
this.$modal.open({ title: 'title', render: (h) => h(MyComponent), () maskClosable: true, hideFooter: true })
Hide footer because in component has custom buttons. They have validation state. I am surprised that "maskСlosable" is not supported by default