From d2af81630b0592f3d06203a78e9a4ce733449034 Mon Sep 17 00:00:00 2001 From: nilaygit-10721 Date: Thu, 7 Nov 2024 23:26:16 +0530 Subject: [PATCH] [docs]: Update documentation for Date-Range Picker Component #11178 --- docs/docs/widgets/date-range-picker.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docs/widgets/date-range-picker.md b/docs/docs/widgets/date-range-picker.md index 3086237b90..0ba7c133a5 100644 --- a/docs/docs/widgets/date-range-picker.md +++ b/docs/docs/widgets/date-range-picker.md @@ -23,7 +23,7 @@ The **Date-Range Picker** component allows users to select a range of dates. |
Event
|
Description
| |:----------- |:----------- | -| On select | Triggered when a start date and end date are selected. | +| On select | Triggers whenever a start date and end date are selected in the date range picker component. | :::info Check [Action Reference](/docs/category/actions-reference) docs to get the detailed information about all the **Actions**. @@ -45,8 +45,8 @@ There are currently no CSA (Component-Specific Actions) implemented to regulate |
Variables
|
Description
|
How To Access
| |:----------- |:----------- |:--------- | -| endDate | This variable holds the date of the endDate selected in the component. | Access the value dynamically using JS: `{{components.customcomponent1.data.title}}`. | -| startDate | This variable holds the value assigned inside the `code` for the custom component. | Access the value dynamically using JS: `{{components.customcomponent1.data.title}}`. | +| endDate | Holds the date selected as the end date in the component. | Accessible dynamically with JS (e.g., `{{components.customcomponent1.endDate}})`. | +| startDate | Holds the date selected as the start date in the component. | Accessible dynamically with JS (e.g., `{{components.customcomponent1.startDate}})`. | @@ -63,12 +63,12 @@ Under the General accordion, you can set the value in the string format.
-## Layout +## Devices -|
Layout
|
Description
|
Expected Value
| +|
Property
|
Description
|
Expected Value
| |:--------------- |:----------------------------------------- | :------------------------------------------------------------------------------------------------------------- | -| Show on desktop | Toggle on or off to display desktop view. | You can programmatically determining the value by clicking on **fx** to set the value `{{true}}` or `{{false}}`. | -| Show on mobile | Toggle on or off to display mobile view. | You can programmatically determining the value by clicking on **fx** to set the value `{{true}}` or `{{false}}`. | +| Show on desktop | Makes the component visible in desktop view. | You can set it with the toggle button or dynamically configure the value by clicking on `fx` and entering a logical expression. | +| Show on mobile | Makes the component visible in mobile view. | You can set it with the toggle button or dynamically configure the value by clicking on `fx` and entering a logical expression. |