Is it possible to apply a mixin to just one instance of an element?

0
0

Hello everybody. I have a web app that uses multiple instances of the ribbon-bar extension, one of which is different from the rest and I’d like it to have different visual properties. I’ve already changed them via a mixin and it works fine, but I don’t want those changes to be applied to the other ribbon-bars I have. Is there a clean way to do it? Thank you

  • You must to post comments
0
0

Hi Pablo,

The best you could do is to have a copy of the RibbonBar mixin, and then change your appearance keys.

Then, you can assign the AppearanceKey property of the RibbonBar to use the newly created one!

HTH,
Alaa

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.