开发者

flex - programmaticSkin to be used only on certain items

开发者 https://www.devze.com 2023-03-25 15:16 出处:网络
I\'ve used p开发者_运维技巧rogrammaticSkin to customize an element i use. I would only like to use it on certain occasions. (on some instances - yes and on others no, or use other skin) is it possible

I've used p开发者_运维技巧rogrammaticSkin to customize an element i use. I would only like to use it on certain occasions. (on some instances - yes and on others no, or use other skin) is it possible?


On the elements that you do need the skin, you only need to set the 'styleName' property to something (like 'skinnedElement') and then specify the custom skin within the css selector:

.skinnedElement
{
   skin-class:path.to.your.CustomProgrammaticSkin;
}
0

精彩评论

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