Skip to content

Commit

Permalink
[chores] Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
totallynotvaishnav committed Sep 10, 2022
1 parent ebba2bf commit c51b518
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,14 @@ Demo is [here](https://openwisp.github.io/netjsongraph.js/examples/netjson-dateP
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({
paginatedDataParse: async function(JSONParam){
// Implement your custom logic here
}
});
```

- `isObject`

Check if the param is object.
Expand Down

0 comments on commit c51b518

Please sign in to comment.