...
Code Block |
---|
<B25:scheduleWrapper
viewOffset="7"
... (set other properties here)
/> |
Example
This example illustrates how to use viewOffset to display a two-week schedule as two one-week calendars on top of each other.
Code Block |
---|
|
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >
<!-- component showing the first week (no offset) -->
<B25:multiScheduleWrapper
recordId="{!v.recordId}"
calendarName="Schedule"
colors="B25__Colors__c"
titles="Name"
/>
<!-- component showing the second week (7 day offset) -->
<B25:multiScheduleWrapper
recordId="{!v.recordId}"
calendarName="Schedule"
colors="B25__Colors__c"
titles="Name"
viewOffset="7"
/>
</aura:component> |