« first day (23 days earlier)      last day (478 days later) » 

10:56
how to handle array in angular2.
only string of arrays have to add dynamically
11:29
Hey Guys
11:39
@CaptainHere hi
@CaptainHere do you know angular4?
@Stephen Learner here.
@CaptainHere ok i heard angular4 is enhancement of angular2
Yeah.
Do you know how to trigger an event manually?
like a keyup event
I'm not aware about that.
<button (click)="onClickMe()">Click me!</button>
are you asking button click
?
to trigger some methods ?
no. Triggering an event manually.
11:44
ok use #target in layout for that particular view
like JQuery's .trigger() method
ok
export class KeyUpComponent_v1 {
values = '';

onKey(event: any) { // without type info
this.values += event.target.value + ' | ';
}
}
Okay. Thank you!
Ah Got it.

ElementRef.nativeElement.dispatchEvent(new KeyboardEvent('keyup'))
@CaptainHere good :)

« first day (23 days earlier)      last day (478 days later) »