Open ryrych opened 10 years ago
Another question: can an extended component be opened programatically, or it has to be injected into DOM first?
@ryrych Did you try ModalManager.show
As far as I remember I had to add a modal to the view (template) first to open it using ModalManager.show
and I'd like to avoid adding it in such a way. If it's not true, please let me know. :)
How can I extend
BsModalComponent
so that custom behaviour / properties is set there? I extended the main class and tried to use it usingModalManager.openModal
but it wouldn't work.Is there any documentation / example how to do it?