简体   繁体   English

Spark List 控件上是否有等效的 MX List itemRollOver 事件?

[英]Is there a MX List itemRollOver event equivalent on a Spark List control?

Flex 3 List control had a itemRollOver event. Flex 3 List 控件有一个 itemRollOver 事件。 Flex 4 List doesn't have it. Flex 4 List 没有它。 Is there an equivalent or a workaround for this issue?此问题是否有等效或解决方法?

Just add the roll over event within a custom item renderer and dispatch an event (custom or otherwise) that bubbles up.只需在自定义项目渲染器中添加翻转事件并调度一个冒泡的事件(自定义或其他)。 I believe they removed the event for the sake of not dispatching unused events unless the developer specifies it.我相信他们删除了该事件是为了不分派未使用的事件,除非开发人员指定它。

The itemRollOver and itemRollOut events have been added to the spark List in the Flex 4.5 release.在 Flex 4.5 版本中, itemRollOver 和 itemRollOut 事件已添加到 spark 列表中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM