From a6c827713ed4448995b9a893eece0c6dfc1fed2d Mon Sep 17 00:00:00 2001 From: MarkHoward Date: Mon, 17 Sep 2018 11:09:25 +1200 Subject: [PATCH] updated to use this keyword on properties in the render method --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 80067d1f..f33957a6 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,9 @@ and renders declaratively using `lit-html`. describing dynamic parts with standard JavaScript template expressions: * static elements: ``` html`
Hi
` ``` - * expression: ``` html`
${disabled ? 'Off' : 'On'}
` ``` - * property: ``` html`` ``` - * attribute: ``` html`
` ``` + * expression: ``` html`
${this.disabled ? 'Off' : 'On'}
` ``` + * property: ``` html`` ``` + * attribute: ``` html`
` ``` * event handler: ``` html`` ``` ## Getting started