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

feat: CSUI multiple inline and overlay anchors #260

Merged
merged 15 commits into from
Oct 17, 2022

Conversation

louisgv
Copy link
Contributor

@louisgv louisgv commented Oct 15, 2022

Details

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current PR for duplication.

@louisgv louisgv self-assigned this Oct 15, 2022
@louisgv louisgv linked an issue Oct 15, 2022 that may be closed by this pull request
@louisgv louisgv changed the title feat: CSUI multiple anchors feat: CSUI multiple inline and overlay anchors Oct 17, 2022
@louisgv louisgv marked this pull request as ready for review October 17, 2022 18:12
@louisgv louisgv merged commit 9c153bb into main Oct 17, 2022
@louisgv louisgv deleted the 198-rfc-csui-mounting-into-multiple-element branch October 17, 2022 19:10
) => Async<ShadowRoot>

export type PlasmoRender = (
props: {
createRootContainer?: (p: PlasmoCSUIAnchor) => Async<Element>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the first parameter need to be required? I was wondering how we'd use this if we're not mounting into multiple elements, like in the following example.

https://github.com/PlasmoHQ/examples/blob/b3f699d537c5143c928ede46586901bff1cfca62/with-content-scripts-ui/contents/plasmo-root-container.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[RFC] CSUI Mounting into multiple element
3 participants