New to Kendo UI for AngularStart a free 30-day trial

TaskClassFn

Represents the callback that is used by the taskClass property.

typescript
public taskCallback(dataItem: any): any {
  const moreThanHalfCompleted = dataItem.completionRatio > 0.5;
  return {
    'more-than-half': moreThanHalfCompleted,
    'less-than-half': !moreThanHalfCompleted
  };
}
Not finding the help you need?
Contact Support