BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
App.component.html
<ng-template #dateHeaderTemplate let-data>
<div class="date-text">{{getDateHeaderText(data.date)}}</div>
</ng-template>
App.component.ts
onBound(): void {
if (this.flag) {
let element: any = document.querySelectorAll('.e-resource-cells');
for (let i = 0; i < this.resourceDataSource.length; i++) {
element[i + 1].classList.add((this.resourceDataSource[i] as any).text);
}
this.flag = false;
}
}
App.component.CSS
.date-text,
.name {
text-align: center;
}
.Jammy {
background-color: #ea7a57 !important;
}
.Tweety {
background-color: #7fa900 !important;
}
.Nestle {
background-color: #5978ee !important;
}
.Phoenix {
background-color: #fec200 !important;
} |
.timeline-resource.e-schedule à class name for the timeline resources.
.e-timeline-view à root class name for the timeline views(TimelineDay, TimelineWeek, TimelineWorkWeek)
.e-date-header-wrap à class name for the date header sections.
.e-resource-cells à class name for the resources cells |
So let's reformulate my question: in the Scheduler API are defined a lot of properties for different actions, events, directives, but there are not listed the default values.
Another example beside the CSS classes are ActionEventArgs API events in Angular Schedule API component.
In the documentation it is shown "requestType string Returns the request type of the current action.", but you do not know the values are "eventCreate" or "eventChange" (or more).
|