Closed LeoWang2007 closed 2 years ago
This is my code
swal({ icon: 'info', title: 'test', content: "it's<b>important</b>", footer: '© WatermelonCloud', closeOnClickOutside: false, closeOnEsc: false })
I want to bold "important" but I got this
You can do things like this:
var slider = document.createElement("input"); slider.type = "range"; swal({ content: slider, });
Feel free to check out the content section in the docs.
This is my code
I want to bold "important" but I got this