You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -77,20 +77,20 @@ All the Arshaw Fullcalendar options can be passed through the directive. This ev
77
77
78
78
The ui-calendar directive plays nicely with ng-model.
79
79
80
-
An Event Sources objects needs to be created to pass into ng-model. This objectwill be watched for changes and update the calendar accordingly, giving the calendar some Angular Magic.
80
+
An Event Sources objects needs to be created to pass into ng-model. This object's values will be watched for changes. If a change occurs, then that specific calendar will call the appropriate fullCalendar method.
81
81
82
82
The ui-calendar directive expects the eventSources object to be any type allowed in the documentation for the fullcalendar. [docs](http://arshaw.com/fullcalendar/docs/event_data/Event_Source_Object/)
83
83
Note that all calendar options which are functions that are passed into the calendar are wrapped in an apply automatically.
84
84
85
85
## Accessing the calendar object
86
86
87
-
To avoid potential issues, by default the calendar object is not available in the parent scope. Access the object by declaring a calendar attribute name:
87
+
It is possible to access a specific calendar object by declaring a name for it on the uiCalendar directive. In this next line we are naming the calendar 'myCalendar'. This will be attached to the uiCalendarConfig constant object, that can be accessed via DI.
0 commit comments