Module: lib/dataTable

Methods

(static) dataTableElements(data, dataTableopt, nullable, optionsopt, nullable) → {Object}

Render a data table

Parameters:
Name Type Attributes Default Description
data Array.<Object>

The data array

dataTable Object <optional>
<nullable>
null

The data table model

options Object <optional>
<nullable>
null

The data table options

Source:
Returns:

The data table element model

Type
Object

(static) validateDataTable(dataTable) → {Object}

Validate a data table model

Parameters:
Name Type Description
dataTable Object

The data table model

Source:
Throws:
Returns:
Type
Object

Type Definitions

DataTableOptions

The data table options object

Type:
  • Object
Properties:
Name Type Attributes Description
urlFn function <optional>

The Markdown URL modifier function

Source: