Skip to main content

Home > @jsplumb/core > Connection > removeClass

Connection.removeClass() method#

Removes the given class from the UI elements being used to represent this connection's connector, and optionally from the UI elements representing the connection's endpoints.

Signature:

removeClass(c: string, cascade?: boolean): void;

Parameters#

ParameterTypeDescription
cstringclass to remove
cascadebooleanIf true, also remove the class from the connection's endpoints.

Returns:

void