anteriovieira/vue-swal

HTML Support

hakanozkaptan opened this issue · 1 comments

Hello, I am using the html: 'htmlCode Bold' parameter like this but its giving a blank.
how to use, html parameter.

Big regards

Hi @hakanozkaptan try:

this.$swal("Write something here:", {
  content: "input",
}).then(value => {
  this.$swal(`You typed: ${value}`)
})

Example here (jsfiddle)