moveable
moveable copied to clipboard
Ability to change look of the movable component dynamically
Environments
- Framework name: React
- Framework version: 17
- Moveable Component version: 0.30.1 (react-moveable)
Description
I understand there's a way to add custom CSS for the movable component, but is there a way to make it different during runtime?
The concrete case I'm trying to solve is to make the movable-line divs red whenever they are intersecting with other divs.
@milosponj
It seems difficult to change css at runtime.
There seems to be a way to directly change the style or add css directly.