This commit is contained in:
Renan LE CARO 2025-04-08 10:36:30 +02:00
parent e1c20627bc
commit 6ef13f2d19
15 changed files with 289 additions and 65 deletions

8
src/toast.ts Normal file
View file

@ -0,0 +1,8 @@
export function toast(html){
const div =document.createElement('div')
div.classList='toast'
div.innerHTML=html
document.body.appendChild(div)
// TOast
// setTimeout(()=>div.remove() , 500 )
}