Skip to content

Commit

Permalink
[docs] Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
totallynotvaishnav committed Sep 26, 2022
1 parent d24e232 commit fcf882d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,10 @@ Demo is [here](https://openwisp.github.io/netjsongraph.js/examples/netjson-dateP

- `paginatedDataParse`

Parse paginated response from the server. It accepts `JSONParam` as a parameter. It uses cursor-based pagination by default. If you want to parse from the server that uses some other pagination logic, you can override this method using `setUtils`
method.
Parse paginated response from the server. It accepts `JSONParam` as a parameter.
It uses cursor-based pagination by default.
If you want to parse from the server that uses some other pagination logic,
you can override this method using `setUtils` method.

```JS
graph.setUtils({
Expand All @@ -531,6 +533,8 @@ Demo is [here](https://openwisp.github.io/netjsongraph.js/examples/netjson-dateP
});
```

You can see the default implementation [here](https://github.com/openwisp/netjsongraph.js/blob/a83c2ee97a2d377f0e4818774ffbbb0dd297ef0e/src/js/netjsongraph.util.js#L29).

- `isObject`

Check if the param is object.
Expand Down
2 changes: 1 addition & 1 deletion dist/netjsongraph.min.js

Large diffs are not rendered by default.

0 comments on commit fcf882d

Please sign in to comment.