Issue #1994Opened May 1, 2019by webdeveloper04290 reactions

[question] Is it possible to add StyleManager property for only class name

Question

Thank for this awesome library.

I am gonna to add style controller to sector. This style will be for only one class name and won't set target. For example ".xxx-wrapper div.active button:before" (xxx will be identifier of component so that inside buttons will be controlled by this sector) I tried to find in document but I can't find. pls help. Thanks in advance.

Answers (3)

artfMay 1, 20190 reactions

No style manager can only change style properties (CSS) for any other thing you have to use Traits

webdeveloper0429May 1, 20190 reactions

Thank you artf. so we can't use nested css selector (".xxx-wrapper div.active button:before") in cssCompose?

artfMay 2, 20190 reactions

You can create any CSS Rule by using setRule method but only class-based are visible in Style Manager

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.