Global

Type Definitions

ChangeEvent

Source:
Properties:
Name Type Description
action 'add' | 'remove' | 'update' Action on seat.
current Seat Current seat info.
previous Seat Seat info previous to the event.
Type:
  • Object

ClearEvent

Source:
Properties:
Name Type Description
current Seat Current seat info.
previous Seat Seat info previous to the event.
Type:
  • Array.<Object>

columnNameCallback(index, disabled, disabledCount) → {string}

Source:
Callback to generate a column name.
Parameters:
Name Type Description
index number Column index (starts from 0).
disabled boolean True if current column is disabled.
disabledCount number Number of disabled columns till that one (including current one if disabled).
Returns:
Column name. Return null or undefined if empty.
Type
string

rowNameCallback(index, disabled, disabledCount) → {string}

Source:
Callback to generate a row name.
Parameters:
Name Type Description
index number Row index (starts from 0).
disabled boolean True if current row is disabled.
disabledCount number Number of disabled rows till that one (including current one if disabled).
Returns:
Row name. Return null or undefined if empty.
Type
string

Seat

Source:
Properties:
Name Type Description
type string Seat type.
id number Seat id.
index number Seat index.
name string Seat name.
price number Seat price.
Type:
  • Object

seatNameCallback(row, column) → {string}

Source:
Callback to generate a seat name.
Parameters:
Name Type Description
row object
Properties
Name Type Description
index number Row index (starts from 0).
disabled boolean True if current row is disabled.
disabledCount number Number of disabled rows till that one (including current one if disabled).
column object
Properties
Name Type Description
index number Column index (starts from 0).
disabled boolean True if current column is disabled.
disabledCount number Number of disabled columns till that one (including current one if disabled).
Returns:
Seat name. Return null or undefined if empty.
Type
string