选择组行为 - 在 J2ME 优化中悬停时选择元素

发布于 2024-10-05 13:10:55 字数 151 浏览 0 评论 0原文

ChoiceGroup(view-type:verticalfixed)当前的实现有三种状态:未选中、悬停、选中。当在带有键盘的手机上使用此组件时,向上和向下键事件会悬停各个选择组元素,并且 FIRE 实际上会选择该元素。

有没有一种方法可以修改此行为,以便悬停==选择?

The current implementation of ChoiceGroup (view-type: verticalfixed) has three states: unselected, hover, selected. When using this component on a phone with a keypad, UP and DOWN key events hover the individual choice group elements and FIRE would actually select the element.

Is there a way in which I can modify this behavior so that hover == selection ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

兮子 2024-10-12 13:10:55

在 FIRE 下使用 getselectedIndex。悬停只是CSS。 hoverChoicegroup

//#style用于css的

.hoverChoicegroup{

}

.hoverChoicegroup:hover{

}

Use getselectedIndex under FIRE. Hover is just css. //#style hoverChoicegroup

for css

.hoverChoicegroup{

}

.hoverChoicegroup:hover{

}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文