audio - 在 sweetalert 弹出窗口中实现声音
问题描述
英语不是我的母语,请原谅我的任何错误。
是否可以在 swalfire 弹出窗口中实现音频文件。在此弹出窗口中我会收到通知/声音:
Swal.fire({
title: 'Custom width, padding, background.',
width: 600,
padding: '3em',
background: '#fff url(/images/trees.png)',
backdrop: `
rgba(0,0,123,0.4)
url("/images/nyan-cat.gif")
left top
no-repeat
`
})
解决方案
推荐阅读
- arrays - 在 Python 3.8 中,如何检查 JSON 数组是否按数组中的值排序?
- r - 将数据框从 R 复制并粘贴到 EXCEL
- php - 如何在 mysql 表中生成 100.000 个 6 位唯一数字?
- php - Laravel DB::select 正在破坏未来的事务
- f# - lines=True 用于 Json 类型提供程序和 Json.Net 库的参数?
- google-chrome-devtools - 开发工具 - 开发工具中的错误是否重要?
- php - 为 mysql pdo 查询清理表单提交的数据
- r - 计算 R 中两个不同数据帧的两个时间戳之间的行数
- api - 为什么 Telethon 发送文件这么慢?
- python - 如何将 txt 文件导入到 ipickle 文件中?