-
Notifications
You must be signed in to change notification settings - Fork 11
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
Questions/Requests about ConfirmModal and PromptModal (custom css and html) #76
Comments
Custom CSS can be added by using the provided There is no way currently to customize the HTML structure of the modals. Since the modals use the I would like to make the
Adding icons to the modals could instead be done by creating a new template for the modals and overriding the default template provided by Angular Base Apps. This is probably the best approach to cover all use cases. If you need anything more complex (like modifying |
@Seb- if you need support for this right away, you can inject the html into the buttons after the modal has been rendered. The enter and cancel buttons have the |
closing with the assumption this is resolved |
I need to progress in my project and this seems to be too much for the result so I gave up on it for the moment and just kept default. The information was useful though. I might get back to it and comment more when I have time to play with this. |
Is it possible to add a custom css class for ConfirmModal or PromptModal?
I tried to add a "class" parameters in the configuration object, but that didn't seem to work.
I would also like to be able to insert html into the buttons text to add an icon to them. How should I do that?
The text was updated successfully, but these errors were encountered: