Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法禁用自动重复的关键事件?具体来说,我正在使用关闭 google tv web ui 库,并且当按住/向上滚动浏览 tv-container-vertical 的组件时,我希望它一次只移动一个,无论是否按下键或举行。
简短的回答是,这并非易事。您需要使用自己的处理程序定义键行为,该处理程序将覆盖 GTV 提供的用于键导航的闭包库代码。