Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryRylance committed Sep 2, 2020
1 parent bc0e17c commit 547371b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -2,7 +2,7 @@

This library handles client and server side record fetching, including search, sort and pagination.

This is the client side component. Feel free to write your own, or extend `PerryRylance.DataTable` by overriding `createInstance`.
This is the client side component. Feel free to write your own, or extend `DataTable` and `createInstance` to return instances of your extended class.

If you're looking for the server side library, please see <https://github.com/PerryRylance/DataTable>

Expand All @@ -24,4 +24,4 @@ I recommend installing this via NPM:
## Integration

- You can simply use the DataTable (native) JS interface to interact via the table element and let this library handle the communication.
- If you wish to implement custom behaviour, please make a class which extends DataTable, and then override DataTable.createInstance to return an instance of your class.
- If you wish to implement custom behaviour, please make a class which extends DataTable, and then override DataTable.createInstance to return an instance of your class.

0 comments on commit 547371b

Please sign in to comment.