Skip to content

feat: fix #150 - JSDoc comments from mixin class ignored#332

Open
psyko-gh wants to merge 1 commit into
open-wc:masterfrom
psyko-gh:fix-150
Open

feat: fix #150 - JSDoc comments from mixin class ignored#332
psyko-gh wants to merge 1 commit into
open-wc:masterfrom
psyko-gh:fix-150

Conversation

@psyko-gh
Copy link
Copy Markdown
Contributor

@psyko-gh psyko-gh commented Mar 4, 2026

Fix #150

Retrieve information from JSDoc when using mixins.

export function SlotMixin(superClass) {
  /**
   * @slot foo - i was hoping CEM would pick up on this, so i could document the slot just once, on the mixin.
   */
  class SlotElement extends superClass {
    renderSomeSlot() {
      return html`<slot name="foo"></slot>`;
    }
  }

  return SlotElement;
}

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 4, 2026

Deploy Preview for custom-elements-manifest-analyzer ready!

Name Link
🔨 Latest commit 11cb592
🔍 Latest deploy log https://app.netlify.com/projects/custom-elements-manifest-analyzer/deploys/69a8ba39fb7bce0009457b63
😎 Deploy Preview https://deploy-preview-332--custom-elements-manifest-analyzer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSDoc comments from mixin class ignored

1 participant