Skip to content

Commit 257ee9d

Browse files
committed
fix: correct docs typos
1 parent aab4ee7 commit 257ee9d

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

‎libs/gridjs-angular/README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gridjs-angular
22

3-
Angular wrapper for [Gridjs](https://github.com/grid-js/gridjs)
3+
Angular wrapper for [Grid.js](https://github.com/grid-js/gridjs)
44

55
## Install
66

@@ -30,13 +30,15 @@ import { Component } from '@angular/core';
3030
import { GridJsConfig } from 'gridjs-angular';
3131

3232
@Component({
33-
template: `<gridjs-angular
34-
[gridConfig]="gridConfig"
35-
(cellClick)="handleCellClick($event)"
36-
(rowClick)="handleRowClick($event)"
37-
(beforeLoad)="handleBeforeLoad($event)"
38-
(gridLoad)="handleGridLoad($event)"
39-
></gridjs-angular>`,
33+
template: `
34+
<gridjs-angular
35+
[gridConfig]="gridConfig"
36+
(cellClick)="handleCellClick($event)"
37+
(rowClick)="handleRowClick($event)"
38+
(beforeLoad)="handleBeforeLoad($event)"
39+
(gridLoad)="handleGridLoad($event)"
40+
></gridjs-angular>
41+
`
4042
})
4143
class ExampleComponent {
4244
public gridConfig: GridJsConfig = {
@@ -46,8 +48,8 @@ class ExampleComponent {
4648
['Mark', 'mark@gmail.com', '(01) 22 888 4444'],
4749
['Eoin', 'eoin@gmail.com', '0097 22 654 00033'],
4850
['Sarah', 'sarahcdd@gmail.com', '+322 876 1233'],
49-
['Afshin', 'afshin@mail.com', '(353) 22 87 8356'],
50-
],
51+
['Afshin', 'afshin@mail.com', '(353) 22 87 8356']
52+
]
5153
};
5254

5355
handleCellClick(event: any) {
@@ -81,13 +83,13 @@ Finally don't forget to add gridjs theme in your index.html
8183

8284
- You can pass all Grid.js configs to the `<gridjs-angular>` component as inputs. See [Grid.js Config](https://gridjs.io/docs/config) for more details.
8385

84-
- `gridConfig` You can all pass Gridjs config as one object and it will be merged other gridjs inputs.
86+
- `gridConfig` You can pass Grid.js config as one object and it will be merged with other Grid.js inputs.
8587

86-
- `plugins` Gridjs plugins array. See [Grid.js Plugins](https://gridjs.io/docs/plugin/basics)
88+
- `plugins` Grid.js plugins array. See [Grid.js Plugins](https://gridjs.io/docs/plugin/basics)
8789

8890
## Outputs
8991

90-
- You can pass all Gridjs events as outputs with a little difference `load` event renamed to `beforeLoad`. See [Gridjs Events](https://gridjs.io/docs/examples/event-handler)
92+
- You can pass all Grid.js events as outputs with a little difference `load` event renamed to `beforeLoad`. See [Grid.js Events](https://gridjs.io/docs/examples/event-handler)
9193

9294
### Can I Grid.js rendering helpers? Yes
9395

0 commit comments

Comments
 (0)