Package kweb.plugins.tablesort

Types

TablesortPlugin
Link copied to clipboard
class TablesortPlugin : KwebPlugin
Uses kylexfox's tablesort plugin to allow sortable tables.

Functions

sort
Link copied to clipboard
fun TableElement.sort(): TableElement
Call only once the DOM is ready (you added the table elements)For this to work properly for non-strings, add the data-sort-value attribute to your TDs!
tablesortSample
Link copied to clipboard
fun tablesortSample()

Properties

tableSortPlugin
Link copied to clipboard
val tableSortPlugin: TablesortPlugin