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

Add web component json files #223

Open
ChristianMurphy opened this issue Jan 9, 2019 · 3 comments
Open

Add web component json files #223

ChristianMurphy opened this issue Jan 9, 2019 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers semver patch a change that does not impact the API

Comments

@ChristianMurphy
Copy link
Member

Adding a web component json file to a project and to a package gives editors the ability to auto complete tag and attribute names of custom elements.

references:
WICG/webcomponents#776

@ChristianMurphy ChristianMurphy added enhancement New feature or request good first issue Good for newcomers semver patch a change that does not impact the API labels Jan 9, 2019
@ChristianMurphy
Copy link
Member Author

Cross linking: https://github.com/elmsln/wcfactory/issues/325

@btopro
Copy link

btopro commented Jan 9, 2019

@ChristianMurphy would there be interest in a stand alone command that wcfactory could then ingest as well as uPortal (or anyone) to accomplish this? I think the fastest way to achieve this file would be:

Or some other way; whatever gets it automated and built the fastest and if it can happen agnostic o our two projects via some tooling integration then all the better. This could be something that the patternfly and open-wc groups could also utilize as they have similar goals

@ChristianMurphy
Copy link
Member Author

I'd be interested in a stand alone command.

Not sure if that would work for Vue or React components though, both use MutationObserver instead of observedAttributes.
https://github.com/vuejs/vue-web-component-wrapper/blob/master/src/index.js#L105-L128
https://github.com/PixelsCommander/ReactiveElements/blob/36a65a69bae59442c6092dba74efa07c90511012/src/reactive-elements.js#L26-L31

Worth a try though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers semver patch a change that does not impact the API
Projects
None yet
Development

No branches or pull requests

2 participants