Skip to content

Commit

Permalink
Add getting started direction in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrylow committed Jan 30, 2021
1 parent 1a21510 commit d125c84
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,37 @@ The jQuery version remains the same as 1.0.0. While the source remains unchanged

These changes should have no impact on the way it functions in comparison with 1.x.

## Getting Started

### jQuery

Include the jQuery library in the `<head>` of your page.

```
<script src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.basictable.min.js"></script>
```

Initiate on any table(s) with:

```
$('table').basictable();
```

### Vanilla JS

Include the basictable library in the `<head>` of your page.

```
<script type="text/javascript" src="basictable.min.js"></script>
```

Initiate on any table(s) with:

```
new basictable('table');
```

## Options

Options are applicable to both the jQuery and Vanilla JS.
Expand Down

0 comments on commit d125c84

Please sign in to comment.