Skip to content

Commit 68b26e0

Browse files
committed
[update] overview pages updated
1 parent bea4fa7 commit 68b26e0

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

docs/api/config/booking-cardshape.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The snippet below demonstrates how to configure what fields to display on the le
7070
<iframe src="https://snippet.dhtmlx.com/6mxd7918?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>
7171

7272
:::info
73-
You can also configure the appearance of a card using the [`cardTemplate`](/api/config/booking-cardTemplate) property. If both `cardTemplate` and `cardShape` are applied, `cardTemplate` will override the `cardShape` settings.
73+
You can also configure the appearance of a card using the [`cardTemplate`](/api/config/booking-cardtemplate) property. If both `cardTemplate` and `cardShape` are applied, `cardTemplate` will override the `cardShape` settings.
7474
:::
7575

7676
**Related articles:**

docs/api/overview/booking-api-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,11 @@ new booking.Booking("#root", {
6464
| [](../config/booking-data.md) | @getshort(../config/booking-data.md) |
6565
| [](../config/booking-end.md) | @getshort(../config/booking-end.md) |
6666
| [](../config/booking-cardshape.md) | @getshort(../config/booking-cardshape.md) |
67+
| [](../config/booking-cardtemplate.md) | @getshort(../config/booking-cardtemplate.md) |
6768
| [](../config/booking-filtershape.md) | @getshort(../config/booking-filtershape.md) |
6869
| [](../config/booking-formshape.md) | @getshort(../config/booking-formshape.md) |
6970
| [](../config/booking-infoshape.md) | @getshort(../config/booking-infoshape.md) |
71+
| [](../config/booking-infotemplate.md) | @getshort(../config/booking-infotemplate.md) |
7072
| [](../config/booking-locale.md) | @getshort(../config/booking-locale.md) |
7173
| [](../config/booking-slotgap.md) | @getshort(../config/booking-slotgap.md) |
7274
| [](../config/booking-slotsize.md) | @getshort(../config/booking-slotsize.md) |

docs/api/overview/booking-properties-overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ description: You can have properties overview of JavaScript Booking in the docum
1111
| [](../config/booking-data.md) | @getshort(../config/booking-data.md) |
1212
| [](../config/booking-end.md) | @getshort(../config/booking-end.md) |
1313
| [](../config/booking-cardshape.md) | @getshort(../config/booking-cardshape.md) |
14+
| [](../config/booking-cardtemplate.md) | @getshort(../config/booking-cardtemplate.md) |
1415
| [](../config/booking-filtershape.md) | @getshort(../config/booking-filtershape.md) |
1516
| [](../config/booking-formshape.md) | @getshort(../config/booking-formshape.md) |
1617
| [](../config/booking-infoshape.md) | @getshort(../config/booking-infoshape.md) |
18+
| [](../config/booking-infotemplate.md) | @getshort(../config/booking-infotemplate.md) |
1719
| [](../config/booking-locale.md) | @getshort(../config/booking-locale.md) |
1820
| [](../config/booking-slotgap.md) | @getshort(../config/booking-slotgap.md) |
1921
| [](../config/booking-slotsize.md) | @getshort(../config/booking-slotsize.md) |

docs/guides/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ new booking.Booking("#root", {
430430
Please, see an example in the [snippet tool](https://snippet.dhtmlx.com/pd6wp1xc)
431431
:::
432432
433-
To fully customize the appearance and content of a card, apply your own template using the [`infoTemplate`](/config/booking-infotemplate) property (`infoShape` can be used only to hide/show fields provided by the default template). If both properties are applied, `infoTemplate` will override the `infoShape` settings.
433+
To fully customize the appearance and content of a card, apply your own template using the [`infoTemplate`](/api/config/booking-infotemplate) property (`infoShape` can be used only to hide/show fields provided by the default template). If both properties are applied, `infoTemplate` will override the `infoShape` settings.
434434
435435
To apply a template, you need to define the function that will generate the custom HTML for the information block. This function will receive the card and slot objects as input parameters, which are `item` (card object) and `slot` (slot timestamp) as in the example below. You should also define your custom template by arranging card item properties into any HTML blocks with custom styles.
436436

0 commit comments

Comments
 (0)