
Post


@JavaScriptDaily Yes, it's sweet. I've been "tasting" it for a few minutes now. In combination with #await and its promise feature, it's like using alert or confirm:
const res = await swl({
title: 'Hello, world!',
text: 'Testing SWL',
buttons: true
})
if (res) {
doSomething()
}
English



