X-Git-Url: https://juplo.de/gitweb/?p=examples%2Fangular-tutorial;a=blobdiff_plain;f=src%2Fapp%2Fproduct-list%2Fproduct-list.component.ts;fp=src%2Fapp%2Fproduct-list%2Fproduct-list.component.ts;h=41e68b752472cd3fd4cf9111b4b8fcecc27826b3;hp=a66ea2eca223d3f2e23071cf35dcb19abe382929;hb=2e1af39839a0657199c4f4cb339c775a70ccf33d;hpb=603f40c6f8565d6d183d3e46451110d3b0add1e7 diff --git a/src/app/product-list/product-list.component.ts b/src/app/product-list/product-list.component.ts index a66ea2e..41e68b7 100644 --- a/src/app/product-list/product-list.component.ts +++ b/src/app/product-list/product-list.component.ts @@ -12,4 +12,8 @@ export class ProductListComponent { share() { window.alert('The product has been pimmelled!'); } + + onNotify() { + window.alert('You have been pimmeld!'); + } }