Skip to content

Commit

Permalink
[update] minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiipylypchuk1991 committed Jun 11, 2024
1 parent 98b38c0 commit c6e565d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions docs/guides/integration_with_angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class ToDoComponent implements OnInit, OnDestroy {
}
~~~

In the above code you also specified the `ngOnDestroy()` method that contains the `_todo.destructor()` expression to clear the component when it is no longer needed.
In the above code you also specified the `ngOnDestroy()` method that contains the `this._todo.destructor()` expression to clear the component when it is no longer needed.

#### Loading data

Expand Down Expand Up @@ -181,12 +181,12 @@ You can also use the [`parse()`](/api/methods/parse_method/) method inside the `
// importing the data file
import { getData } from './data';
// ...
ngOnInit() {
const { users, tasks, projects } = getData();
const todo = new ToDo(this.container.nativeElement, {});
ngOnInit() {
const { users, tasks, projects } = getData();
const todo = new ToDo(this.container.nativeElement, {});

todo.parse({users, tasks, projects});
}
todo.parse({users, tasks, projects});
}
// ...
~~~

Expand Down
6 changes: 3 additions & 3 deletions docs/guides/integration_with_react.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ export function getData() {
id: "temp://1652991560212",
project: "introduction",
text: "Greetings, everyone! \u{1F44B} \nI'm DHTMLX To Do List.",
priority: 1,
priority: 1
},
{
id: "1652374122964",
project: "introduction",
text: "You can assign task performers and due dates using the menu.",
assigned: ["user_4", "user_1", "user_2", "user_3"],
due_date: "2033-03-08T21:00:00.000Z",
priority: 2,
priority: 2
},
// ...
];
Expand All @@ -153,7 +153,7 @@ export function getData() {
id: "user_1",
label: "Don Smith",
avatar:
"https://snippet.dhtmlx.com/codebase/data/common/img/02/avatar_61.jpg",
"https://snippet.dhtmlx.com/codebase/data/common/img/02/avatar_61.jpg"
},
// ...
];
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/integration_with_vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Then you need to render To Do List in the container. Use the `new ToDo()` constr
</template>
~~~

To clear the component as it has unmounted, use the `todo.destructor()` method and remove the container inside the `unmounted()` method of ***Vue.js***, as follows:
To clear the component as it has unmounted, use the `this.todo.destructor()` method and remove the container inside the `unmounted()` method of ***Vue.js***, as follows:

~~~html {8-11} title="ToDo.vue"
<script>
Expand Down
2 changes: 1 addition & 1 deletion docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you are updating To Do List from an older version, check [Migration to newer

## Version 1.2.9

Released on June 11, 2024
Released on June DAY, 2024

### Fixes

Expand Down

0 comments on commit c6e565d

Please sign in to comment.