Код: Выделить всё
Notiflix.Confirm.show(
'Confirmation',
'Use second confirmation?',
'Yes',
'No',
() => {
//When yes has been clicked
Notiflix.Confirm.show(
'Confirmation',
'Is this your second confirmation?',
'Yes',
'No',
() => {
console.log('yes')
},
()=>{
console.log('no')
})
},
()=>{
//When no has been clicked
})
Код: Выделить всё
Подробнее здесь: https://stackoverflow.com/questions/791 ... n-possible