Lines Matching refs:eventFunc
24 eventFunc() {
25 console.log('eventFunc is called');
29 this.context.eventHub.on('myEvent', this.eventFunc);
75 this.context.eventHub.on('myEvent', this.eventFunc);
86 // eventFunc is called, value: undefined
95 eventFunc() {
96 console.log(`eventFunc is called, value: ${this.value}`);
115 console.log(`anonymous eventFunc is called, value: ${this.value}`);
127 // anonymous eventFunc is called, value: 12
136 eventFunc() {
137 console.log(`eventFunc is called, value: ${this.value}`);
233 this.context.eventHub.on('myEvent', this.eventFunc);
239 // eventFunc is called,undefined,undefined
242 // eventFunc is called,1,undefined
245 // eventFunc is called,1,2
254 eventFunc(argOne: number, argTwo: number) {
255 console.log(`eventFunc is called, ${argOne}, ${argTwo}`);