Custom place message and title
See original GitHub issueWith this code:
const Toast = Swal.mixin({ toast: true, position: 'top-end', showConfirmButton: false, timer: 183000, timerProgressBar: true, didOpen: (toast) => { toast.addEventListener('mouseenter', Swal.stopTimer) toast.addEventListener('mouseleave', Swal.resumeTimer) } })
Toast.fire({ icon: 'success', title: 'Signed in successfully', html: 'This is the message description of the alert.<br>With some detaills.' })
I get this result:
It’s a very large alert.
What I realy need, it’s this:
This next image explain the detail of my need:
How can I do it??
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Custom Title Plaque - Etsy
Check out our custom title plaque selection for the very best in unique or custom, handmade pieces from our shops.
Read more >Use this Power BI feature to display custom message or titles
Want a custom message or title in your Power BI report? Not happy with the formatting options of the card visual or buttons?...
Read more >PROS - Reserve Personalized Plate
This site is available to all Alabama registrants to reserve a personalized license plate message. Any personalized license plate reservation will be held ......
Read more >Custom title on JOptionPane message dialogs - Stack Overflow
Try this JOptionPane.showMessageDialog(null, "You won the game in 7 tries!", "my title", JOptionPane.INFORMATION_MESSAGE);. You need to supply the message ...
Read more >Customize your email message - Microsoft Support
Change the appearance of your email messages, including colors, backgrounds, graphics, tables, lists, and more.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The default look before:
The default look after #2215:
And bu using the
customClass
parameter you can achieve the requested styling with the centered icon: https://codepen.io/limonte/pen/XWpqROJWhat do you think @manukieli?
If you’re happy, I’ll go ahead and close the issue.
@manukieli Please don’t hesitate to open new issues with styling requests.