Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add custom class / stylings to modal? #163

Open
ryrych opened this issue Aug 7, 2014 · 3 comments
Open

how to add custom class / stylings to modal? #163

ryrych opened this issue Aug 7, 2014 · 3 comments

Comments

@ryrych
Copy link

ryrych commented Aug 7, 2014

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
Copy link
Author

ryrych commented Aug 7, 2014

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

@mikeazo
Copy link

mikeazo commented Dec 5, 2014

@ryrych Did you try ModalManager.show

@ryrych
Copy link
Author

ryrych commented Dec 6, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants