Answers for "swal button attributes"

1

swal change confirm button class

Swal.fire({
    title: 'example text',
    buttonsStyling: false,
    customClass: {
    	confirmButton: 'example-class' //insert class here
    }
})
Posted by: Guest on November-24-2020
0

swal mail

const { value: email } = await Swal.fire({  title: 'Input email address',  input: 'email',  inputPlaceholder: 'Enter your email address'})if (email) {  Swal.fire(`Entered email: ${email}`)}
Posted by: Guest on June-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language