Skip to content

Commit ebf742f

Browse files
Merge pull request #98 from AlexKlimenkov/master
[dev] update rxjs guide to match the demo
2 parents 0b43d4f + 4d3399f commit ebf742f

2 files changed

Lines changed: 404 additions & 236 deletions

File tree

docs/integrations/angular/state/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ Use [Using Angular Gantt with RxJS](integrations/angular/state/rxjs.md) for a pr
3636
## Minimal Starter Pattern
3737

3838
~~~ts
39-
readonly dataConfig = {
40-
batchSave: (changes) => this.ganttStore.applyBatch(changes)
39+
readonly dataConfig: AngularGanttDataConfig = {
40+
batchSave: (changes) => this.ganttState.applyBatch(changes),
4141
};
4242
~~~
4343

44-
Use this pattern when one user action can generate many task/link updates.
44+
Where `ganttState` is an injected `GanttStateService` (see the [RxJS tutorial](integrations/angular/state/rxjs.md) for the service shape). Use this pattern when one user action can generate many task/link updates.
4545

4646
## Performance Note
4747

0 commit comments

Comments
 (0)