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

Mon, 10 Oct 2016 13:25:16 -0700

I am new to angular 2. Can you please provide an example of how you 
achieved the navigation?

Thanks.

On Monday, February 1, 2016 at 3:55:34 AM UTC-7, HansMeise wrote:
>
> Thanks, didn't even know you could refer inside of the component to a 
> template variable. So this hint will also help in many others situations :-)
>
> Am Samstag, 30. Januar 2016 14:54:46 UTC+1 schrieb Günter Zöchbauer:
>>
>> 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.
>>
>

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to