[AngularJS] Re: [Angular2] navigation through arrow keys

Sat, 30 Jan 2016 05:55:13 -0800

You could add a template variable to the created rows and filter for these 
elements using `@ViewChildren('myVar') rows;` and then set focus on the 
previous/next item in the list on arrow up/down.

On Wednesday, January 27, 2016 at 10:44:18 AM UTC+1, HansMeise wrote:
>
> I have a normal <table> with <tr> filled by *ngFor with data from an array 
> that is filtered and ordered by two pipes. How can I use the arrow keys to 
> scroll through the table rows? It should highlight the current selected row 
> and the object from the array should be available for further processing.
>
> Thanks for your input :)
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to