Can you please provide a tutorial or snippet which we can reffer.
You have to make something, that when you click on it (or make other event), it will trigger the notification. For example you're making button with
id="button1", then you have to make
eventListener on this button and in the function you must paste this trigger code
$('.toast').toast('show');. You can use other options in brackets instead of
'show' if you want. Everything in
<script> tags of course. In HTML you have to paste content of your notification, as you can see in documentation. I made a snippet some time ago with notifications and it placement, so you can see how it works and how to place your notification wherever you want.
i want to use the notifications as error
For example :
if user left the email input form is blank , i want to show the notification without pressing a button . is it possible ?
NOTE: i am using php for backend
- User: Pro
- Premium support: No
- Technology: jQuery
- MDB Version: 4.7.7
- Device: Windows 10 PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes