Skip to content

Commit 615a762

Browse files
Merge pull request #102 from AlexKlimenkov/master
[fix] minor formatting & fix broken link
2 parents 0d17615 + ef79be6 commit 615a762

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/integrations/vue/customization-patterns.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Use this when grid editing is central to the workflow and built-in editors are n
455455

456456
Use `modals` to replace built-in task/link deletion confirmations.
457457

458-
The handler receives `{ task, callback, message, title, ganttInstance }` for task deletion (and `{ link, ... }` for link deletion). **Deletion only proceeds when you invoke `callback()`** skip the call and the deletion is cancelled.
458+
The handler receives `{ task, callback, message, title, ganttInstance }` for task deletion (and `{ link, ... }` for link deletion). **Deletion only proceeds when you invoke `callback()`** - skip the call and the deletion is cancelled.
459459

460460
### Quick Path: `window.confirm`
461461

@@ -474,7 +474,7 @@ const modals = {
474474

475475
### Production Path: Custom Vue Dialog Component
476476

477-
Real apps usually need a branded modal that matches the rest of the UI. The handler can't show a Vue component synchronously the user has to click first so you capture the `callback` in component state, open the dialog, and invoke the callback (or don't) when the user chooses.
477+
Real apps usually need a branded modal that matches the rest of the UI. The handler can't show a Vue component synchronously - the user has to click first - so you capture the `callback` in component state, open the dialog, and invoke the callback (or don't) when the user chooses.
478478

479479
~~~vue
480480
<script setup lang="ts">
@@ -519,7 +519,7 @@ const modals = {
519519
</template>
520520
~~~
521521

522-
`TaskDeleteDialog.vue` is any Vue dialog component you like a Vuetify `v-dialog`, an Element Plus `el-dialog`, a custom-rolled `<Teleport>` overlay, etc. The contract is just `modelValue` (or any open/close prop), a `confirm` action and a `cancel` action.
522+
`TaskDeleteDialog.vue` is any Vue dialog component you like - a Vuetify `v-dialog`, an Element Plus `el-dialog`, a custom-rolled `<Teleport>` overlay, etc. The contract is just `modelValue` (or any open/close prop), a `confirm` action and a `cancel` action.
523523

524524
See the runnable Vue version in the `templates` route of [`vue-gantt-examples`](https://github.com/DHTMLX/vue-gantt-examples).
525525

docs/integrations/vue/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ For the low-level path, use [dhtmlxGantt with Vue.js (Low-Level Integration)](in
5555

5656
Start with the state section if you already know you need store/backend synchronization:
5757

58-
- [Data & State Management](integrations/vue/state/index.md)
58+
- [Data & State Management](integrations/vue/state.md)
5959
- [Data Binding and State Management Basics](integrations/vue/state/state-management-basics.md)
6060
- [Using Vue Gantt with Pinia](integrations/vue/state/pinia.md)
6161

0 commit comments

Comments
 (0)