Skip to content

Commit 898ee40

Browse files
committed
Update changelog
1 parent 84d033e commit 898ee40

3 files changed

Lines changed: 39 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
v 0.1.10
2+
3+
- Re-implement checking for local Custom Elements manifest files
4+
- Used data is a combination of a local CEM and the one analyzed by WCDT
5+
- Update cache handling when parsing properties, increasing parsing speed
6+
- Fix recognizing non-editable fields, like element references and functions
7+
- Sort items in the inspector window
8+
- Show properties as is instead of the modified version
9+
- Implement Roboto on all platforms
10+
11+
v 0.1.9
12+
13+
- Implement Custom Elements analyzer inside devtools
14+
115
v 0.1.8
216

317
- Reduce unnecessary querying of DOM

examples/lit/custom-elements.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@
9494
"kind": "method",
9595
"name": "__increment"
9696
},
97+
{
98+
"kind": "method",
99+
"name": "firstUpdated"
100+
},
97101
{
98102
"kind": "method",
99103
"name": "render"
@@ -134,6 +138,18 @@
134138
"text": "array"
135139
},
136140
"default": "[\n { id: 1, text: 'Hello' },\n { id: 2, text: 'Hi' },\n { id: 3, text: 'Bonjour' },\n ]"
141+
},
142+
{
143+
"kind": "field",
144+
"name": "funcProp"
145+
},
146+
{
147+
"kind": "field",
148+
"name": "headerElem",
149+
"type": {
150+
"text": "null"
151+
},
152+
"default": "null"
137153
}
138154
],
139155
"events": [

examples/lit/src/LitExample.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export class LitExample extends LitElement {
1010
counter: { type: Number, reflect: true },
1111
user: { type: Object },
1212
listItems: { type: Array },
13+
headerElem: { type: Object },
14+
funcProp: { type: Object }
1315
};
1416
}
1517

@@ -27,6 +29,8 @@ export class LitExample extends LitElement {
2729
{ id: 2, text: 'Hi' },
2830
{ id: 3, text: 'Bonjour' },
2931
];
32+
this.funcProp = this._actUpon;
33+
this.headerElem = null;
3034
}
3135

3236
_actUpon() {
@@ -64,6 +68,11 @@ export class LitExample extends LitElement {
6468
this.dispatchEvent(new CustomEvent('counter-increment', { detail: { count: this.counter } }));
6569
}
6670

71+
firstUpdated() {
72+
73+
this.headerElem = this.shadowRoot.querySelector("h2");
74+
}
75+
6776
render() {
6877
return html`
6978
<h2>${this.title}!</h2>

0 commit comments

Comments
 (0)