bootstrap-for-ember
bootstrap-for-ember copied to clipboard
how to add custom class / stylings to modal?
How can I extend BsModalComponent so that custom behaviour / properties is set there? I extended the main class and tried to use it using ModalManager.openModal but it wouldn't work.
Is there any documentation / example how to do it?
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. :)