@mindfusion/scheduling 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,6 +9,22 @@ For the latest stable version:
9
9
  ```
10
10
  npm i @mindfusion/scheduling
11
11
  ```
12
+ ### New in version 2.0.4
13
+
14
+ The library registers the [Calendar](https://www.mindfusion.eu/onlinehelp/scheduler.javascript/index.htm?T_MindFusion_Scheduling_Calendar_0.htm) class as a web component. You can use the <mindfusion-calendar> tag to create the control.
15
+
16
+ When instantiated as a web component, the control creates required HTML elements as internal shadow DOM. You can get the JavaScript object corresponding to a web component by calling the [find](https://www.mindfusion.eu/onlinehelp/scheduler.javascript/index.htm?M_MindFusion_Common_Control_find_1_String.htm) method with id argument.
17
+
18
+ ```
19
+ <mindfusion-calendar id="calendar" style="height: 100%; width: 100%;">
20
+ </mindfusion-calendar>
21
+ ```
22
+
23
+ ```
24
+ var ms = MindFusion.Scheduling;
25
+ calendar = ms.Calendar.find("calendar");
26
+ calendar.currentView = ms.CalendarView.SingleMonth;
27
+ ```
12
28
 
13
29
  ### New in version 2.0
14
30