This commit is contained in:
2019-12-30 23:18:19 +01:00
parent 4ca54727f1
commit 2b1846a008
6 changed files with 36 additions and 17 deletions

View File

@@ -3,7 +3,7 @@ import style from './todo-item.scss';
@defineElement('todo-item')
export class TodoItem extends CustomElement{
@Prop() checked = false;
@Prop({reflect: true}) checked = false;
@Prop() model;
render(){