@rickselby/tablesorter-bootstrap-sass

1.0.0 • Public • Published

Lightweight Bootstrap 4 theme for Mottie's tablesorter

A lightweight sass bootstrap 4 theme for mottie's tablesorter

The tablesorter does come with a bootstrap theme, but it makes a sortable table look completely different to any other table. This theme just adds the sorting icons to the header, and leaves the rest of the table untouched.

Usage

sass:

@import "~@rickselby/tablesorter-bootstrap-sass/bootstrap-4";

js:

$('#tablesorter').tablesorter({
    theme : 'bootstrap-4',
});

// Or set it as a default somewhere:
$.extend( true, $.tablesorter.defaults, {
    theme : 'bootstrap-4',
});

Dependents (0)

Package Sidebar

Install

npm i @rickselby/tablesorter-bootstrap-sass

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

22 kB

Total Files

10

Last publish

Collaborators

  • rickselby