File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ and renders declaratively using `lit-html`.
6262 describing dynamic parts with standard JavaScript template expressions:
6363
6464 * static elements: ``` html`<div>Hi</div>` ```
65- * expression: ``` html`<div>${disabled ? 'Off' : 'On'}</div>` ```
66- * property: ``` html`<x-foo .bar="${bar}"></x-foo>` ```
67- * attribute: ``` html`<div class="${color} special"></div>` ```
65+ * expression: ``` html`<div>${this. disabled ? 'Off' : 'On'}</div>` ```
66+ * property: ``` html`<x-foo .bar="${this. bar}"></x-foo>` ```
67+ * attribute: ``` html`<div class="${this. color} special"></div>` ```
6868 * event handler: ``` html`<button @click="${(e) => this._clickHandler(e)}"></button>` ```
6969
7070## Getting started
You can’t perform that action at this time.
0 commit comments