bootstrap-for-ember icon indicating copy to clipboard operation
bootstrap-for-ember copied to clipboard

how to add custom class / stylings to modal?

Open ryrych opened this issue 11 years ago • 3 comments

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?

ryrych avatar Aug 07 '14 08:08 ryrych

Another question: can an extended component be opened programatically, or it has to be injected into DOM first?

ryrych avatar Aug 07 '14 16:08 ryrych

@ryrych Did you try ModalManager.show

mikeazo avatar Dec 05 '14 18:12 mikeazo

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. :)

ryrych avatar Dec 06 '14 15:12 ryrych