-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🧩 logseq.provideUI #14
Comments
Is there a way to know whether the provided slot was invalid? |
Here are supported methods defined in https://github.com/logseq/logseq/blob/master/libs/src/helpers.ts#L422-L451 'click',
'focus',
'focusin',
'focusout',
'blur',
'dblclick',
'keyup',
'keypress',
'keydown',
'change',
'input',
'contextmenu', Notice that use Works fine except on-blur, which does not bubble. |
In case I'm using |
It would not be possible to pick up an exception when using setTimeout. There is a way to use the DOM and check if the element in question exists by doing something like |
The Markdown is not lost during rendering, but many callbacks occur. A variable can be used to put a processing lock to the process. ( Learn more about provideUI. logseq/logseq#3045 |
https://plugins-doc.logseq.com/logseq/provideUI
The text was updated successfully, but these errors were encountered: