Reworked how decorators are used to get to our initial steps of actually updating the DOM on a state change. *phew*
This commit is contained in:
@@ -27,7 +27,7 @@ export class TodoItem extends CustomElement{
|
||||
|
||||
handleChange = ()=>{
|
||||
this.dispatchEvent(new CustomEvent('check', {
|
||||
detail: (this.checked=!this.checked)
|
||||
detail: (this.checked=!this.checked),
|
||||
}));
|
||||
};
|
||||
handleClick = ()=>{
|
||||
|
||||
Reference in New Issue
Block a user