Represent the basic state of the component.
Represent an Header of the table. It's gonna be rendered as a
Represent a Row which contains a list of Columns.
Represent a Column which can manage a specific kind of data.
Represent the colSpan of a column. Alias for Integer.
Represents the sort algorithm
Create the Header.
myHeader : String -> String -> Table.Header
myHeader slug content =
Table.header slug contentCreate a Row
myRow : List Column -> Table.Row
myRow columns =
Table.row columnsCreate a Column which content is Float primitive.
Create a Column which content is Html, that can be sorted using compareFunction.
Create a Column which content is Integer primitive.
Create a Column which content is String primitive.
Sets the header columns of the table.
Sets the alternate rows option for the Table component to Config.
Adds an entry to the classList of the <table> tag.
Sets the function to convert HTML content to string to be compared in sorting.
Adds a class for the <td> tags to the Config.
Adds a class for the <thead> tag to the Config.
Represent the static configuration of the component.