Skip to content

Content script UI options API reference is hard to follow #1452

Closed

Description

@aklinker1

Describe the bug

Try to find the docs for the append option here: https://wxt.dev/api/reference/wxt/client/functions/createShadowRootUi.html

You can't lol. Well, you can, but people will give up before finding it.

We could duplicate the JSDoc between the three options, but then they'd get out of sync. Maybe that's worth it for ease of use. Here's where the types are located: https://github.com/wxt-dev/wxt/blob/a38e3c27330ab82f9c136191fc85b9b101516915/packages/wxt/src/client/content-scripts/ui/types.ts

Originally reported here: https://discord.com/channels/1212416027611365476/1296842665249472614/1342135208220299274

Reproduction

https://wxt.dev/api/reference/wxt/client/functions/createShadowRootUi.html

Steps to reproduce

N/A

System Info

N/A

Used Package Manager

npm

Validations

Activity

  1. added
    docs
    on Feb 21, 2025
  2. added theissue type on Mar 21, 2025
  3. aklinker1 commented on Jul 31, 2026

    @aklinker1
    MemberAuthor

    More details on what I want here: #2497 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomedocs

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions