提示
默认提示
警告提示
危险提示
详情
点击展开行内内容
这是行内详情内容。它支持 markdown 格式,并在点击前保持隐藏。
代码示例
.test {
--color: blue;
}
The HTML abbreviation element.
This is a test.
<div class="test">This is a test.</div>$gradient: linear-gradient(180deg, color-mix(var(--white) 15%, transparent), color-mix(var(--white) 0%, transparent));
const toastTrigger = document.getElementById('liveToastBtn')
const toastLiveExample = document.getElementById('liveToast')
if (toastTrigger) {
const toastBootstrap = Toast.getOrCreateInstance(toastLiveExample)
toastTrigger.addEventListener('click', () => {
toastBootstrap.show()
})
}