webcomponents / webcomponents/custom-elements-manifest

Add support for enum Values in Attributes/Properties

Open
#51 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
502
Forks
27
PR merge metrics
No merged PRs in 30d

Description

So the manifest should list the possible values, so a designer could use them.
also a min/max for a number could be usefull

I've the following Properties for a Property in my designer:
https://github.com/node-projects/web-component-designer/blob/master/src/elements/services/propertiesService/IProperty.ts

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the property shape in the linked IProperty.ts file with the custom elements manifest format and its current schema. Clarify how enum values and numeric min/max values should be represented; done means the manifest can expose those values for a designer to consume.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.