Advertisement
DataCCIW

Dismissible Alert Documentation

Sep 6th, 2024
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.14 KB | None | 0 0
  1. <p>Usage:<br>{[ alertdismissible alertId:'test2-14-23-1' message:'Test Message' alertClass:'info']}<br>{[ alertdismissible alertId:'test2-14-23-2' message:'Test Message' alertClass:'info' type:'modal' title:'Important Notification']}</p><p>Parameters:</p><ul><li>alertid - a unique name for the div containing the message and the localstorage item key used to track whether the user has dismissed this message yet or not</li><li>message - html message to show to the user</li><li>alertClass - primary, info, warning... <a href="https://getbootstrap.com/docs/4.0/components/alerts/#examples" target="_blank">see more examples</a></li><li>type - standard, modal</li><li>title - strong content of standard alert, h4 title of modal</li></ul><p><br><a href="https://getbootstrap.com/docs/4.0/components/alerts/" target="_blank">Bootstrap Dismissible Alert Documentation</a><br><a href="https://getbootstrap.com/docs/4.0/components/modal/" target="_blank">Bootstrap Modal Documentation</a><br><a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage" target="_blank" style="background-color: rgb(255, 255, 255);">Local Storage Documentation</a></p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement