table()
table<
T
>(items
,renderer
,columnNames
):HTMLTableElement
Creates a visual table based on [items] and [renderer].
Type parameters
Type parameter |
---|
T |
Parameters
Parameter | Type | Default value |
---|---|---|
items | T [] | undefined |
renderer | null | (item , ind ) => any | undefined |
columnNames | null | string [] | null |
Returns
HTMLTableElement