mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-29 08:19:13 -04:00
wip
This commit is contained in:
parent
e1c20627bc
commit
6ef13f2d19
15 changed files with 289 additions and 65 deletions
8
src/toast.ts
Normal file
8
src/toast.ts
Normal 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 )
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue