« first day (23 days earlier)
← previous day
next day →
last day (478 days later) »
Stephen
10:56
how to handle array in angular2.
only string of arrays have to add dynamically
CaptainHere
11:29
Hey Guys
Stephen
11:39
@CaptainHere hi
@CaptainHere do you know angular4?
CaptainHere
@Stephen Learner here.
Stephen
@CaptainHere ok i heard angular4 is enhancement of angular2
CaptainHere
Yeah.
Do you know how to trigger an event manually?
like a keyup event
Stephen
I'm not aware about that.
<button (click)="onClickMe()">Click me!</button>
are you asking button click
?
to trigger some methods ?
CaptainHere
no. Triggering an event manually.
Stephen
11:44
ok use #target in layout for that particular view
CaptainHere
like JQuery's .trigger() method
Stephen
angular.io/guide/user-input
please read this
ok
export class KeyUpComponent_v1 {
values = '';
onKey(event: any) { // without type info
this.values += event.target.value + ' | ';
}
}
CaptainHere
Okay. Thank you!
Ah Got it.
ElementRef.nativeElement.dispatchEvent(new KeyboardEvent('keyup'))
Stephen
@CaptainHere good :)
« first day (23 days earlier)
← previous day
next day →
last day (478 days later) »
all rooms
Transcript for
Jul
22
Jul '17
24
Jul
26
Hybrid Mobile Application Development
angular2-services
angularjs
cordova
ionic-framework
nativescript
reactjs
typescript
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile