ahiipsa / navigation Goto Github PK
View Code? Open in Web Editor NEWKeyboard navigation for Smart TV applications
Home Page: http://ahiipsa.github.io/navigation
Keyboard navigation for Smart TV applications
Home Page: http://ahiipsa.github.io/navigation
What is the event that I should be using when the block is selected (not ENTER) in the demo? I need to display some information on another container based on the item selected so I need an even when I select an item by moving up/down/left/right.
Cool library! Really enjoying playing with it.
I have a UI that uses a set of A-Z bootstrap tabs, and is set up to have both mouse and smart tv nav. When the tab is focused on (nv-focus), it shows the associated tab panel. However, i've also got event listeners on all A-Z keys to show the tabs programmatically when a letter is pressed.
All works well, but if a tab is clicked, or a A-Z key pressed to show the tab, i can't find an effective way to set the targeted element to be the "current" one so the left/right navigation syncs up.
Is there a way to programmatically/manually set the current target element to navigate from?
I am working on a smart tv project and i have a problem with navigation. When i want to go from last element in a row with key down, if there is no element under it, navigation doesn't do anything. We have a request that if there is no element under current element, on key down, it should navigate to last element in next row.
https://s27.postimg.org/os2jq4dvn/Capture.png
Please help
Can be used in vuejs?
Would you be able to create a demo using ReactJS? like the tv_app but with react.
Now library causes force reflow on every move, it will be good to add custom attributes for manually specify target element. Same story with horizontal and vertical navigations, we don't need to find next element with spatial navigation.
You can look at https://github.com/LibertyGlobal/sunbeam for some ideas
Hi!. Where can i disable scroll on key down? It is not working as it should on hbbtv so i want to implement my own scroll.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.