Skip to main content

marker_class

Description

Specifies the CSS class that will be applied to markers

marker_class: (marker: any) => void;

Parameters

  • marker - (required) object - the marker's configuration object

Example

var showAdvancedMarkers;
gantt.templates.marker_class = function(marker){
if (showAdvancedMarkers) {
return "advanced_marker";
}
return "hidden";
}
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.