diff --git a/app/components/another-component/another-component.html b/app/components/another-component/another-component.html index a38a459..4b123a9 100644 --- a/app/components/another-component/another-component.html +++ b/app/components/another-component/another-component.html @@ -27,6 +27,8 @@ _changeName: function(){ console.log("changing name"); + // this.dispatchEvent(new CustomEvent('kick', {detail: {kicked: true}})); + this.fire('kick', {kicked: true}); this.set('element.person', {"name": "bobby"}); this.notifyPath('element'); this.notifyPath('element.person'); diff --git a/app/components/example-component/example-component.html b/app/components/example-component/example-component.html index 68521c0..ef888c7 100644 --- a/app/components/example-component/example-component.html +++ b/app/components/example-component/example-component.html @@ -31,5 +31,5 @@ } } }); - + \ No newline at end of file diff --git a/app/index.html b/app/index.html index 9d9b005..f6d4cd2 100644 --- a/app/index.html +++ b/app/index.html @@ -10,5 +10,28 @@