Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7859813
toast.stimulus.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
343 B
Referenced Files
None
Subscribers
None
toast.stimulus.ts
View Options
import
{
Controller
}
from
"stimulus"
;
export
default
class
Toast
extends
Controller
{
connect
()
{
console
.
log
(
"connect"
);
this
.
element
.
addEventListener
(
"animationend"
,
({
animationName
}
:
AnimationEvent
)
=>
{
if
(
animationName
==
"fade-out"
)
{
this
.
element
.
parentElement
?
.
removeChild
(
this
.
element
);
}
}
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Wed, Aug 13, 17:06 (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
868183
Default Alt Text
toast.stimulus.ts (343 B)
Attached To
Mode
rJDDE jdd-editor
Attached
Detach File
Event Timeline
Log In to Comment