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

Add iconHtml to customize the icons in confirmation modal #579

Open
HichemTab-tech opened this issue Aug 25, 2023 · 0 comments
Open

Add iconHtml to customize the icons in confirmation modal #579

HichemTab-tech opened this issue Aug 25, 2023 · 0 comments

Comments

@HichemTab-tech
Copy link

jquery-confirm version:
v3.x.x

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] support request

Current behavior:
among $.confirm method there is an option named icon used to define the font-awsome class for example :

$.confirm({
    icon: 'fa fa-warning',
    title: 'font-awesome'
});

Expected behavior:
it would be nice if you add another option like iconHtml in case we need to build the icon our selfs or if we want to use Google Material icons.

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

1 participant