Skip to content

How to style only active region handle? #3890

Answered by JanMisker
Benny739 asked this question in Q&A
Discussion options

You must be logged in to vote

What I did was adding a part to the region element, then manipulate the handles based on that.
So when creating the region, or upon some event:

region.element.part.add("active-region")

and then in css

::part(region active-region) {
   // what you want
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Benny739
Comment options

Answer selected by Benny739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants