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
Copy file name to clipboardExpand all lines: docs/guides/integration-with-angular.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ description: You can learn about the integration with Angular in the documentati
7
7
# Integration with Angular
8
8
9
9
:::tip
10
-
You should be familiar with basic concepts and patterns of **Angular** before reading this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://angular.io/docs).
10
+
You should be familiar with basic concepts and patterns of **Angular** before reading this documentation. To refresh your knowledge, please refer to the [**Angular documentation**](https://v17.angular.io/docs).
11
11
:::
12
12
13
13
DHTMLX Booking is compatible with **Angular**. We have prepared code examples on how to use DHTMLX Booking with **Angular**. For more information, refer to the corresponding [**Example on GitHub**](https://github.com/DHTMLX/angular-booking-demo).
14
14
15
15
## Creating a project
16
16
17
17
:::info
18
-
Before you start to create a new project, install [**Angular CLI**](https://angular.io/cli) and [**Node.js**](https://nodejs.org/en/).
18
+
Before you start to create a new project, install [**Angular CLI**](https://v17.angular.io/cli) and [**Node.js**](https://nodejs.org/en/).
19
19
:::
20
20
21
21
Create a new **my-angular-booking-app** project using Angular CLI. Run the following command for this purpose:
Copy file name to clipboardExpand all lines: docs/guides/integration-with-eventcalendar.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: You can learn about the integration with DHTMLX Event Calendar in t
6
6
7
7
# Integration with DHTMLX Event Calendar
8
8
9
-
This guide will show how to integrate the DHTMLX Booking widget with [DHTMLX Event Calendar](https://docs.dhtmlx.com/eventcalendar/).
9
+
This guide will show how to integrate the DHTMLX Booking widget with [DHTMLX Event Calendar](https://docs.dhtmlx.com/eventcalendar/).
10
10
11
11
## Main concepts
12
12
@@ -25,7 +25,7 @@ So what you actually need is to generate booking slots from events (the [snippet
25
25
-**Timezone handling:**
26
26
- Booking interprets timestamps in the local timezone.
27
27
- If you use global timestamps, you need to convert them to local timezones before sending them to Booking (and vice versa before saving the data back).
28
-
For conversion instructions, refer to [Working with UTC data](/guides/saving-reservations/#working-with-utc-data).
28
+
For conversion instructions, refer to [Working with UTC data](/guides/saving-reservations/#working-with-utc-data).
29
29
30
30
-**Booking slot strategies:**
31
31
- Use `slots` and `usedSlots` to build the schedule, ensuring that used slots are excluded (we'll focus on this strategy)
@@ -37,14 +37,13 @@ The snippet below demonstrates how to integrate Booking with the Event Calendar
37
37
38
38
-`/events` - Event Calendar data (doctor schedules) that includes recurring and single-time events. These events are used to create time slots for the Booking system.
39
39
40
-
-`/units` - final Booking slots generated from the Event Calendar `events` data. The slots are generated on the server-side. Please, also refer to [backend](https://git.webix.io/XBS/event-calendar-booking-go).
40
+
-`/units` - final Booking slots generated from the Event Calendar `events` data. The slots are generated on the server-side. Please, also refer to [backend](https://github.com/DHTMLX/event-calendar-booking-go).
41
41
42
42
-`/calendars` - contains doctors' calendars. It is used for displaying doctor information in both the Event Calendar and Booking widgets.
43
43
44
44
-`/reservations` - an auxiliary collection used to visualize `usedSlots` in the timeline view. This data comes from the Booking form, containing information about already reserved slots for doctors.
45
45
46
-
Converting events to Booking slots is the major part of integration and the rules for handling the events and converting them to slots are described in the [section below](#rules-for-converting-events-to-booking-slots).
47
-
46
+
Converting events to Booking slots is the major part of integration and the rules for handling the events and converting them to slots are described in the [section below](#rules-for-converting-events-to-booking-slots).
For recurring events, we use a weekly pattern. The start date and end date of each recurring event in Event Calendar should be equal to Booking [start](/api/config/booking-start) and [end](/api/config/booking-end) dates, otherwise create placeholders for dates before and after the recurring event (see Rule 7).
0 commit comments