Add a static site generator
There is no build for the element or site utilities like PrismJS yet, so this site only works locally at the moment.
This commit is contained in:
committed by
Justin Fagnani
parent
2b3e914666
commit
fc662728eb
51
custom-elements.json
Normal file
51
custom-elements.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"version": "experimental",
|
||||
"tags": [
|
||||
{
|
||||
"name": "my-element",
|
||||
"description": "An example element.",
|
||||
"attributes": [
|
||||
{
|
||||
"name": "name",
|
||||
"description": "The name to say \"Hello\" to.",
|
||||
"type": "string",
|
||||
"default": "\"World\""
|
||||
},
|
||||
{
|
||||
"name": "count",
|
||||
"description": "The number of times the button has been clicked.",
|
||||
"type": "number",
|
||||
"default": "0"
|
||||
}
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"name": "name",
|
||||
"attribute": "name",
|
||||
"description": "The name to say \"Hello\" to.",
|
||||
"type": "string",
|
||||
"default": "\"World\""
|
||||
},
|
||||
{
|
||||
"name": "count",
|
||||
"attribute": "count",
|
||||
"description": "The number of times the button has been clicked.",
|
||||
"type": "number",
|
||||
"default": "0"
|
||||
}
|
||||
],
|
||||
"slots": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "This element has a slot"
|
||||
}
|
||||
],
|
||||
"cssParts": [
|
||||
{
|
||||
"name": "button",
|
||||
"description": "The button"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user