📜  sweetalert2 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:20.596000             🧑  作者: Mango

代码示例5
const { value: email } = await Swal.fire({  title: 'Input email address',  input: 'email',  inputLabel: 'Your email address',  inputPlaceholder: 'Enter your email address'})if (email) {  Swal.fire(`Entered email: ${email}`)}