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

Include Custom Element Manifest for Shadow Root Processors #25

Closed
JRJurman opened this issue Sep 2, 2023 · 1 comment
Closed

Include Custom Element Manifest for Shadow Root Processors #25

JRJurman opened this issue Sep 2, 2023 · 1 comment

Comments

@JRJurman
Copy link
Member

JRJurman commented Sep 2, 2023

Summary

Right now intellisense when using the Tram-Lite custom attributes can be lacking. However, there is a standard for custom-element manifests, see https://github.com/webcomponents/custom-elements-manifest

This provides auto-completion and hover-over information, similar to what's already available for native HTML elements. You can see interactive examples of this here: https://github.com/microsoft/vscode-custom-data/tree/main/samples/webcomponents

We should investigate what might be possible here, if we can suggest / expose some of the attributes used in the shadowRootProcessors.

@JRJurman JRJurman changed the title Include Custom Element Manifest for ComponentDefinition Include Custom Element Manifest for Shadow Root Processors Oct 29, 2023
@JRJurman
Copy link
Member Author

JRJurman commented Nov 9, 2023

Frustratingly, it looks like Custom Element manifests are only for custom-elements, so documenting custom attributes on existing elements isn't possible 🤔

@JRJurman JRJurman closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2023
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

No branches or pull requests

1 participant