Skip to main content

CLASS_GROUP_CHILD_ELEMENT_DRAGGING

const CLASS_GROUP_CHILD_ELEMENT_DRAGGING: "vjs-group-child-element-dragging" = "vjs-group-child-element-dragging"

Assigned by the Surface to the group parent of a vertex element that is being dragged, if applicable. You can use this class for a couple of things - to show that a child element is being dragged, of course, but also a good idea is to use this class to bump the z-index for any group that has it assigned, to put that group above other groups. This ensures that as you drag a child vertex over to some other group, it appears on top of that group in the UI.

Css Class

Context

element-dragging