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/configuration.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ You can change the type of the counter which renders the progress of completion
26
26
27
27
By default, each parent task is equipped with the counter whose value is shown as a ratio of completed child tasks and the total number of the child tasks.
28
28
29
-
If you want the value of the counter to be displayed as a percentage, specify the *type: "percentage"* attribute inside the **counter** parameter of the [`taskShape`](api/configs/taskshape_config.md) property:
29
+
If you want the value of the counter to be displayed as a percentage, specify the *type: "percentage"* attribute inside the **counter** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property:
30
30
31
31
~~~js {5-9}
32
32
constlist=newToDo("#root", {
@@ -45,7 +45,7 @@ const list = new ToDo("#root", {
45
45
46
46
### Date format
47
47
48
-
By default, the To Do List displays dates in the "%d %M %Y" format (it looks like 09 Mar 2033). If you want to specify another format for dates, use the **date** parameter of the [`taskShape`](api/configs/taskshape_config.md) property:
48
+
By default, the To Do List displays dates in the "%d %M %Y" format (it looks like 09 Mar 2033). If you want to specify another format for dates, use the **date** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property:
49
49
50
50
~~~js {5-10}
51
51
constlist=newToDo("#root", {
@@ -63,13 +63,13 @@ const list = new ToDo("#root", {
63
63
64
64
**Related sample:**[To do list. Subtask counter and date format](https://snippet.dhtmlx.com/magidhw8)
65
65
66
-
Check [the list of available characters](api/configs/taskshape_config.md#list-of-characters).
66
+
Check [the list of available characters](../../api/configs/taskshape_config/#list-of-characters).
67
67
68
68
### Drag-n-drop
69
69
70
70
The default configuration of To Do List includes the drag-n-drop functionality. You can [select one or several tasks](../../#selecting-tasks) and drag the selected tasks vertically at once. If you need to create a copy of the selected tasks, hold the *Alt* key during drag-n-drop.
71
71
72
-
There is the [`drag`](api/configs/drag_config.md) property which allows you:
72
+
There is the [`drag`](../../api/configs/drag_config/) property which allows you:
73
73
74
74
- to configure the behavior of the collapsed tasks so that they don't expand when you hover them over during drag-n-drop:
75
75
@@ -99,7 +99,7 @@ const list = new ToDo("#root", {
99
99
100
100
### Due date validation
101
101
102
-
If you specify a [due date](api/configs/tasks_config.md) for a task, the due date validation will track the completion of the task. The due date of the task has green color until the task becomes Overdue.
102
+
If you specify a [due date](../../api/configs/tasks_config/) for a task, the due date validation will track the completion of the task. The due date of the task has green color until the task becomes Overdue.
103
103
104
104

105
105
@@ -109,7 +109,7 @@ The dates of the tasks which have not been completed on the due date are highli
109
109
110
110
This validation works by default.
111
111
112
-
In case you want to disable this functionality, specify the **validate** setting inside the *date* parameter of the [`taskShape`](api/configs/taskshape_config.md) property to *false*:
112
+
In case you want to disable this functionality, specify the **validate** setting inside the *date* parameter of the [`taskShape`](../../api/configs/taskshape_config/) property to *false*:
113
113
114
114
~~~js {5-10}
115
115
constlist=newToDo("#root", {
@@ -136,7 +136,7 @@ By default, the process of checking/unchecking tasks is implemented in the "auto
136
136
- If you mark at least one child of a completed task as uncompleted, the task automatically becomes marked as uncompleted
137
137
- If you mark the parent task as uncompleted, all its child automatically become uncompleted
138
138
139
-
You can disable this behavior and activate the "manual" mode. For that, apply the **behavior: "manual"** setting of the **completed** parameter of the [`taskShape`](api/configs/taskshape_config.md) property:
139
+
You can disable this behavior and activate the "manual" mode. For that, apply the **behavior: "manual"** setting of the **completed** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property:
140
140
141
141
~~~js {5-9}
142
142
constlist=newToDo("#root", {
@@ -155,9 +155,9 @@ const list = new ToDo("#root", {
155
155
156
156
## Toolbar
157
157
158
-
The toolbar is a top part of To Do List which is [initialized](guides/initialization.md#initialize-toolbar) and [configured](category/toolbar-properties.md) separately from To Do List.
158
+
The toolbar is a top part of To Do List which is [initialized](../../guides/initialization/#initialize-toolbar) and [configured](category/toolbar-properties.md) separately from To Do List.
159
159
160
-
To change the default structure of the toolbar, use the [`items`](api/toolbar_api/configs/items_config.md) configuration property of the Toolbar component.
160
+
To change the default structure of the toolbar, use the [`items`](../../api/toolbar_api/configs/items_config/) configuration property of the Toolbar component.
161
161
162
162
~~~js
163
163
consttoolbar=newToolbar("#toolbar", {
@@ -170,8 +170,8 @@ The property allows you to define which controls should be shown or hidden. Besi
170
170
171
171
## Mode of hiding completed tasks
172
172
173
-
Read the details on how to hide completed tasks from To Do List in the [related section](guides/hide_completed_tasks.md).
173
+
Read the details on how to hide completed tasks from To Do List in the [related section](../../guides/hide_completed_tasks/).
174
174
175
175
## Read-only mode
176
176
177
-
Read the details on how to make the To Do List read-only in the [related section](guides/readonly_mode.md).
177
+
Read the details on how to make the To Do List read-only in the [related section](../../guides/readonly_mode/).
Copy file name to clipboardExpand all lines: docs/guides/customization.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
@@ -8,15 +8,15 @@ description: You can learn about the To Do List Customization in the documentati
8
8
9
9
## Toolbar
10
10
11
-
It is possible to customize the appearance of the toolbar. You can hide some default controls, add custom ones, and place them in the necessary order. To do that, use the [`items`](api/toolbar_api/configs/items_config.md) property of the Toolbar component.
11
+
It is possible to customize the appearance of the toolbar. You can hide some default controls, add custom ones, and place them in the necessary order. To do that, use the [`items`](../../api/toolbar_api/configs/items_config/) property of the Toolbar component.
Copy file name to clipboardExpand all lines: docs/guides/hide_completed_tasks.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
@@ -13,7 +13,7 @@ There are two modes of displaying tasks in To Do List:
13
13
- when all tasks are shown on the page (*default*)
14
14
- when completed tasks are hidden from the page
15
15
16
-
You may initialize To Do List in the mode when all completed tasks will be hidden from the page. It will let you focus only on those tasks which yet need to be done. For that, you need to enable the **taskHide** setting of the **completed** parameter of the [`taskShape`](api/configs/taskshape_config.md) property, as in:
16
+
You may initialize To Do List in the mode when all completed tasks will be hidden from the page. It will let you focus only on those tasks which yet need to be done. For that, you need to enable the **taskHide** setting of the **completed** parameter of the [`taskShape`](../../api/configs/taskshape_config/) property, as in:
17
17
18
18
~~~js {6}
19
19
constlist=newToDo("#root", {
@@ -33,7 +33,7 @@ You may easily switch between these two modes after initialization of To Do List
33
33
34
34
- via the **Completed tasks -> Show/Hide** option of the [Toolbar menu](../../#toolbar)
35
35
36
-
- via the related [`hideCompletedTasks()`](api/methods/hidecompletedtasks_method.md) and [`showCompletedTasks()`](api/methods/showcompletedtasks_method.md) methods:
36
+
- via the related [`hideCompletedTasks()`](../../api/methods/hidecompletedtasks_method/) and [`showCompletedTasks()`](../../api/methods/showcompletedtasks_method/) methods:
Copy file name to clipboardExpand all lines: docs/guides/inline_editing.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ description: You can learn about inline editing in the documentation of the DHTM
9
9
Inline editing lets you edit the content of a task/project directly by double-clicking on it. The functionality is enabled by default.
10
10
11
11
:::tip
12
-
When you enable the [**readonly**](api/configs/readonly_config.md) mode of To Do List, inline editing becomes unavailable.
12
+
When you enable the [**readonly**](../../api/configs/readonly_config/) mode of To Do List, inline editing becomes unavailable.
13
13
:::
14
14
15
15
## Supported formats of data
@@ -30,7 +30,7 @@ Use hashtags to categorize tasks and make them more searchable. Here are some si
30
30
- To activate strict filtering, click a hashtag or enter it in the search bar in the toolbar
31
31
32
32
:::info
33
-
You can create a default list of tags via the [`tags`](api/configs/tags_config.md) property
33
+
You can create a default list of tags via the [`tags`](../../api/configs/tags_config/) property
34
34
:::
35
35
36
36
3\.**Dates**
@@ -40,7 +40,7 @@ To enter a date via the inline editor, type the `!` symbol and the built-in date
40
40
You can also wrap some text in the special symbols - `!()` - for instance, **!(Enter Booking date)**, and press Enter to close the editor. In the future, clicking on this text will open the date picker.
41
41
42
42
:::info
43
-
The appearance of the added dates depends on the specified [**locale**](api/configs/locale_config.md) and [**date format**](api/configs/taskshape_config.md)
43
+
The appearance of the added dates depends on the specified [**locale**](../../api/configs/locale_config/) and [**date format**](../../api/configs/taskshape_config/)
The `parse(data)` method provides data reloading on each applied change.
297
297
298
-
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](/api/overview/configs_overview/) to check the full list of available properties.
298
+
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](../../api/overview/configs_overview/) to check the full list of available properties.
299
299
300
300
#### Handling events
301
301
302
-
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](/api/overview/events_overview/).
302
+
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](../../api/overview/events_overview/).
303
303
304
304
Open the **todo.component.ts** file and complete the `ngOnInit()` method in the following way:
Copy file name to clipboardExpand all lines: docs/guides/integration_with_react.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,7 +245,7 @@ export default function ToDoComponent(props) {
245
245
}
246
246
~~~
247
247
248
-
You can also use the [`parse()`](/api/methods/parse_method/) method inside the `useEffect()` method of React to load data into To Do List:
248
+
You can also use the [`parse()`](../../api/methods/parse_method/) method inside the `useEffect()` method of React to load data into To Do List:
249
249
250
250
~~~jsx {9-11,21} title="ToDo.jsx"
251
251
import { useEffect, useRef } from"react";
@@ -285,11 +285,11 @@ export default function ToDoComponent(props) {
285
285
286
286
The `parse(data)` method provides data reloading on each applied change.
287
287
288
-
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](/api/overview/configs_overview/) to check the full list of available properties.
288
+
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](../../api/overview/configs_overview/) to check the full list of available properties.
289
289
290
290
#### Handling events
291
291
292
-
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](/api/overview/events_overview/).
292
+
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](../../api/overview/events_overview/).
293
293
294
294
Open ***ToDo.jsx*** and complete the `useEffect()` method in the following way:
Copy file name to clipboardExpand all lines: docs/guides/integration_with_svelte.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ onDestroy(() => {
232
232
</div>
233
233
~~~
234
234
235
-
You can also use the [`parse()`](/api/methods/parse_method/) method inside the `onMount()` method of Svelte to load data into To Do List:
235
+
You can also use the [`parse()`](../../api/methods/parse_method/) method inside the `onMount()` method of Svelte to load data into To Do List:
236
236
237
237
~~~html {6-8,21} title="ToDo.svelte"
238
238
<script>
@@ -272,11 +272,11 @@ onDestroy(() => {
272
272
273
273
The `parse(data)` method provides data reloading on each applied change.
274
274
275
-
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](/api/overview/configs_overview/) to check the full list of available properties.
275
+
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](../../api/overview/configs_overview/) to check the full list of available properties.
276
276
277
277
#### Handling events
278
278
279
-
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](/api/overview/events_overview/).
279
+
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](../../api/overview/events_overview/).
280
280
281
281
Open ***ToDo.svelte*** and complete the `onMount()` method in the following way:
Copy file name to clipboardExpand all lines: docs/guides/integration_with_vue.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -238,7 +238,7 @@ export default {
238
238
</template>
239
239
~~~
240
240
241
-
You can also use the [`parse()`](/api/methods/parse_method/) method inside the `mounted()` method of Vue to load data into To Do List:
241
+
You can also use the [`parse()`](../../api/methods/parse_method/) method inside the `mounted()` method of Vue to load data into To Do List:
242
242
243
243
~~~html {6,16-20} title="ToDo.vue"
244
244
<script>
@@ -280,11 +280,11 @@ export default {
280
280
281
281
The `parse(data)` method provides data reloading on each applied change.
282
282
283
-
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](/api/overview/configs_overview/) to check the full list of available properties.
283
+
Now the To Do List component is ready to use. When the element will be added to the page, it will initialize the To Do List with data. You can provide necessary configuration settings as well. Visit our [To Do List API docs](../../api/overview/configs_overview/) to check the full list of available properties.
284
284
285
285
#### Handling events
286
286
287
-
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](/api/overview/events_overview/).
287
+
When a user makes some action in the To Do List, it invokes an event. You can use these events to detect the action and run the desired code for it. See the [full list of events](../../api/overview/events_overview/).
288
288
289
289
Open ***ToDo.vue*** and complete the `mounted()` method:
You can load [a predefined data](guides/loading_data.md#preparing-data-to-load) into To Do List on the initialization stage in the following way:
181
+
You can load [a predefined data](#preparing-data-to-load) into To Do List on the initialization stage in the following way:
182
182
183
183
~~~js {2,5-8} title="index.js"
184
184
const { ToDo } = todo;
@@ -194,7 +194,7 @@ const list = new ToDo("#root", {
194
194
195
195
### Loading data after initialization
196
196
197
-
To load data from a local data source after initialization of the To Do List, use the [`parse()`](api/methods/parse_method.md) method:
197
+
To load data from a local data source after initialization of the To Do List, use the [`parse()`](../../api/methods/parse_method/) method:
198
198
199
199
~~~js {3,5,12-17} title="index.js"
200
200
const { ToDo, Toolbar } = todo;
@@ -218,7 +218,7 @@ list.parse({
218
218
219
219
## Saving and restoring state
220
220
221
-
To save the current state of a To Do, use the [`serialize()`](api/methods/serialize_method.md) method. It converts the data of the To Do List into a JSON object.
221
+
To save the current state of a To Do, use the [`serialize()`](../../api/methods/serialize_method/) method. It converts the data of the To Do List into a JSON object.
0 commit comments