Skip to content

Add commands array to CustomElement for Invoker Commands API#145

Open
jpzwarte wants to merge 3 commits into
webcomponents:mainfrom
jpzwarte:feat/commands
Open

Add commands array to CustomElement for Invoker Commands API#145
jpzwarte wants to merge 3 commits into
webcomponents:mainfrom
jpzwarte:feat/commands

Conversation

@jpzwarte
Copy link
Copy Markdown

Summary

  • Adds a new Command interface with name, summary, description, inheritedFrom, and deprecated fields
  • Adds commands?: Command[] to CustomElement (inherited by CustomElementDeclaration and CustomElementMixinDeclaration)
  • Updates example and CHANGELOG

Closes #144

Test plan

  • npm test passes (schema validates the updated example)

🤖 Generated with Claude Code

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.

Add commands array to CustomElementDeclaration

1 participant