TablesortPlugin

class TablesortPlugin : KwebPlugin

Uses kylexfox's tablesort plugin to allow sortable tables.

Usage: Create your tables as normal, then call TableElement#sort once. That's it!

Author

Alexander Papageorgiou Koufidis

See also

tablesortSample

Usage example

Constructors

TablesortPlugin
Link copied to clipboard
fun TablesortPlugin()

Functions

appServerConfigurator
Link copied to clipboard
open fun appServerConfigurator(routeHandler: Routing)
Override this to add routes via KTor
decorate
Link copied to clipboard
open override fun decorate(doc: Document)
Override this to make changes to the initial HTML document
elementCreationHook
Link copied to clipboard
open fun elementCreationHook(element: Element)
Override this to execute code when a new element is created
executeAfterPageCreation
Link copied to clipboard
open fun executeAfterPageCreation(): String
Override this to provide JavaScript to be executed after page creation

Properties

dependsOn
Link copied to clipboard
val dependsOn: Set<KwebPlugin>