开发者

pseudo-classes in flex css

Does Flex CSS selectors support pseudo-classes?

I want to use diffe开发者_运维技巧rent backgroundColor for a canvas based on mouse over and out. I am currently listening to MOUSE_OVER and MOUSE_OUT events and changing the styleName property in the handler functions.

Is there a way I can specify canvasStyle:hover or something?


Only Flex 4 supports something called pseudo-selectors.

Pseudo-selectors use states defined in your composant.

See the official documentation for more info.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜