You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice with a simple api to subscribe, unsubscribe for any published events. Maybe be adding methods such as on, once and off so clients can add multiple handlers to the same event, listen only once and stop listening at any time. It will also probably be easier for you to publish existing and new events later on as you only need to provide a list of whats observable.
It might be considered another issue, but events that occur before and after is very convenient such as before:move and after:move, before:resize, after:resize etc. I client could then for example return a promise when something is complete, like:
This discussion was converted from issue #46 on August 07, 2022 15:00.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
on
,once
andoff
so clients can add multiple handlers to the same event, listen only once and stop listening at any time. It will also probably be easier for you to publish existing and new events later on as you only need to provide a list of whats observable.before:move
andafter:move
,before:resize
,after:resize
etc. I client could then for example return a promise when something is complete, like:Beta Was this translation helpful? Give feedback.
All reactions