Skip to content

Commit 5b56005

Browse files
committed
[update] merged with sp-next-factor branch, links fixed, release date added, links to samples for start-end props added
1 parent 6044562 commit 5b56005

7 files changed

Lines changed: 20 additions & 14 deletions

File tree

docs/api/config/booking-end.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ new booking.Booking("#root", {
2929
// other parameters
3030
});
3131
~~~
32+
33+
The snippet below shows how to set the [start](/api/config/booking-start) and end dates:
34+
35+
<iframe src="https://snippet.dhtmlx.com/cc28whe7?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

docs/api/config/booking-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ new booking.Booking("#root", {
3030
});
3131
~~~
3232

33-
The snippet below shows how to set the start date:
33+
The snippet below shows how to set the start and [end](/api/config/booking-end) dates:
3434

35-
<iframe src="https://snippet.dhtmlx.com/cm7871sl?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>
35+
<iframe src="https://snippet.dhtmlx.com/cc28whe7?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

docs/guides/configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ Please, see an example in the [snippet tool](https://snippet.dhtmlx.com/pd6wp1xc
366366

367367
## Configuring the filter
368368

369-
You can configure filter settings via the [`filterShape`](/api/config/booking-filterShape) property. Default configuration is the following:
369+
You can configure filter settings via the [`filterShape`](/api/config/booking-filtershape) property. Default configuration is the following:
370370

371371
~~~jsx {}
372372
const defaultTimeRanges = [
@@ -389,7 +389,7 @@ const defaultFilterShape = {
389389

390390
### Hiding filter input fields
391391

392-
All input fields are displayed by default: text, time, and date. To hide the fields, apply the [`filterShape`](/api/config/booking-filterShape) property and set the corresponding parameters to **false**.
392+
All input fields are displayed by default: text, time, and date. To hide the fields, apply the [`filterShape`](/api/config/booking-filtershape) property and set the corresponding parameters to **false**.
393393

394394
Example:
395395

@@ -407,7 +407,7 @@ new booking.Booking("#root", {
407407

408408
### Configuring filter fields
409409

410-
To enable the auto-complete and show the values that match a user's input text in the **text** field, set the `suggest` parameter of the [`filterShape`](/api/config/booking-filterShape) property to **true**. The values from the [`data`](/api/config/booking-data) object will be displayed. To add labels to these fields, apply the `label` parameter of the [`filterShape`](/api/config/booking-filterShape) property.
410+
To enable the auto-complete and show the values that match a user's input text in the **text** field, set the `suggest` parameter of the [`filterShape`](/api/config/booking-filtershape) property to **true**. The values from the [`data`](/api/config/booking-data) object will be displayed. To add labels to these fields, apply the `label` parameter of the [`filterShape`](/api/config/booking-filtershape) property.
411411

412412
Example:
413413

@@ -427,7 +427,7 @@ new booking.Booking("#root", {
427427
});
428428
~~~
429429

430-
To define the time filtering options, for the `time` parameter of the [`filterShape`](/api/config/booking-filterShape) property specify the start and end slot time values:
430+
To define the time filtering options, for the `time` parameter of the [`filterShape`](/api/config/booking-filtershape) property specify the start and end slot time values:
431431

432432
- `from` - the start time for a slot; it can be a number from 0 to 24 that specifies the time in hours (e.g., 9 means 9:00, 8.5 means 8:30) or a string in the format "h:m" (for example, "8:30")
433433
- `to` - the end time for a slot; it can be a number from 0 to 24 that specifies the time in hours (e.g., 9 means 9:00, 8.5 means 8:30) or a string in the format "h:m" (for example, "8:30")
@@ -455,7 +455,7 @@ new booking.Booking("#root", {
455455

456456
### Enabling the autoApply mode for the filter
457457

458-
To hide the **Search** button and make the filter immediately apply a user's input, set the `autoApply` parameter of the [`filterShape`](/api/config/booking-filterShape) property to **true**.
458+
To hide the **Search** button and make the filter immediately apply a user's input, set the `autoApply` parameter of the [`filterShape`](/api/config/booking-filtershape) property to **true**.
459459

460460
Example:
461461

docs/guides/initialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This guide will give you detailed instructions on how to create Booking on a pag
1010

1111
1. [Include the Booking source files on a page](#including-source-files).
1212
2. [Create a container for Booking](#creating-container).
13-
3. [Initialize Booking with a constructor](#initializing-file-manager).
13+
3. [Initialize Booking with a constructor](#initializing-booking).
1414

1515
## Including source files
1616

docs/how-to-start.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ This clear and comprehensive tutorial will guide your through the steps you need
1212

1313
## Step 1. Downloading and installing packages
1414

15-
[Download the package](https://dhtmlx.com/docs/products/dhtmlxbooking/download.shtml) and unpack it into a folder of your project.
15+
[Download the package](https://dhtmlx.com/docs/products/dhtmlxBooking/) and unpack it into a folder of your project.
1616

1717
You can import JavaScript Booking into your project using `yarn` or `npm` package manager.
1818

1919
#### Installing trial Booking via npm and yarn
2020

2121
:::info
22-
If you want to use the trial version of Booking, download the trial [booking package](https://dhtmlx.com/docs/products/dhtmlxbooking/download.shtml) and follow the steps mentioned in the *README* file. Note that trial booking is available for 30 days only.
22+
If you want to use the trial version of Booking, download the trial [booking package](https://dhtmlx.com/docs/products/dhtmlxBooking/) and follow the steps mentioned in the *README* file. Note that trial booking is available for 30 days only.
2323
:::
2424

2525
#### Installing PRO Booking via npm and yarn

docs/news/whats_new.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ description: SEO data
88

99
## Version 1.0.0
1010

11+
Released on November 6, 2024
12+
1113
### Initial functionality
1214

1315
- [Various rules](/guides/configuration#defining-slot-rules) for defining item slots

docusaurus.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ const config = {
212212
items: [
213213
{
214214
"label": "Examples",
215-
"href": "https://snippet.dhtmlx.com", // [TODO] change before release
215+
"href": "https://snippet.dhtmlx.com/d7w3jtqz?tag=booking",
216216
"position": "right"
217217
},
218218
{
@@ -227,7 +227,7 @@ const config = {
227227
},
228228
{
229229
"label": "Download",
230-
"href": "https://dhtmlx.com/docs/products/dhtmlxBooking/download.shtml", // [TODO] change before release
230+
"href": "https://dhtmlx.com/docs/products/dhtmlxBooking/",
231231
"position": "right"
232232
}
233233
],
@@ -240,12 +240,12 @@ const config = {
240240
"items": [
241241
{
242242
"label": "Download Booking",
243-
"href": "https://dhtmlx.com/docs/products/dhtmlxBooking/download.shtml", // [TODO] change before release
243+
"href": "https://dhtmlx.com/docs/products/dhtmlxBooking/",
244244
"position": "right"
245245
},
246246
{
247247
"label": "Examples",
248-
"href": "https://snippet.dhtmlx.com", // [TODO] change before release
248+
"href": "https://snippet.dhtmlx.com/d7w3jtqz?tag=booking",
249249
"position": "right"
250250
},
251251
{

0 commit comments

Comments
 (0)