Skip to content

Commit

Permalink
fix(custom-elements): update manifest to match spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jogibear9988 authored and christianliebel committed Feb 28, 2022
1 parent d9f1833 commit bf03dd5
Showing 1 changed file with 33 additions and 11 deletions.
44 changes: 33 additions & 11 deletions custom-elements.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,41 @@
{
"version": 2,
"tags": [
"schemaVersion": "1.0.0",
"readme": "README.md",
"modules": [
{
"name": "paint-app",
"description": "An open-source, Web Components-based remake of MS Paint using modern web capabilities.",
"properties": [],
"events": [
"kind": "javascript-module",
"path": "dist/elements/index.js",
"declarations": [
{
"name": "titlechange",
"description": "The titlechange event fires whenever the document's title changes, for example, when a document is saved with a new name, or a document was opened from the file system.",
"type": "{ title: string }"
"kind": "class",
"description": "An open-source, Web Components-based remake of MS Paint using modern web capabilities.",
"name": "App",
"events": [
{
"name": "titlechange",
"description": "The titlechange event fires whenever the document's title changes, for example, when a document is saved with a new name, or a document was opened from the file system.",
"type": {
"title": "String"
}
}
],
"superclass": {
"name": "LitElement"
},
"tagName": "paint-app",
"customElement": true
}
],
"slots": [],
"cssProperties": []
"exports": [
{
"kind": "custom-element-definition",
"name": "paint-app",
"declaration": {
"name": "App",
"module": "dist/elements/index.js"
}
}
]
}
]
}

0 comments on commit bf03dd5

Please sign in to comment.