Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F8921976
delegate-listener.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
377 B
Referenced Files
None
Subscribers
None
delegate-listener.ts
View Options
import
type
{
CollectionEvent
,
CollectionCallback
,
}
from
"../chip-types/collection"
;
import
type
{
App
}
from
"../main"
;
export
class
EventDescription
{
constructor
(
public
collection_name
:
string
,
public
event_name
:
CollectionEvent
)
{}
attachTo
(
app
:
App
,
callback
:
CollectionCallback
)
{
app
.
collections
[
this
.
collection_name
].
on
(
this
.
event_name
,
callback
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Sat, Sep 20, 14:07 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
932387
Default Alt Text
delegate-listener.ts (377 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment