Skip to content
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

Enhance: plugin APIs #10399

Merged
merged 35 commits into from
Dec 13, 2023
Merged

Enhance: plugin APIs #10399

merged 35 commits into from
Dec 13, 2023

Conversation

xyhp915
Copy link
Collaborator

@xyhp915 xyhp915 commented Oct 24, 2023

Added

  • logseq.UI.queryElementRect: (selector: string) => Promise<DOMRectReadOnly | null>
  • logseq.UI.queryElementById: (id: string) => Promise<string | boolean>
  • logseq.UI.checkSlotValid: (slot: UISlotIdentity['slot']) => Promise<boolean>
  • logseq.UI.resolveThemeCssPropsVals: (props: string | Array<string>) => Promise<unkonwn>
  • logseq.Assets.builtInOpen(path: string): Promise<boolean | undefined>

Fixed

@github-actions github-actions bot added the :type/enhancement Enhancement to product. Does not affect the overall basic use. label Oct 24, 2023
@xyhp915 xyhp915 changed the title WIP: Enhance: plugin apis Enhance: plugin APIs Nov 11, 2023
@xyhp915 xyhp915 requested a review from andelf December 6, 2023 07:31
@xyhp915 xyhp915 requested a review from tiensonqin December 6, 2023 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:type/enhancement Enhancement to product. Does not affect the overall basic use.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants