packages/eui/packages/components/eui-table-v2/selectable-row/eui-table-v2-selectable-row.component.ts
Component used internally by eui-table-v2
to make a row selectable.
OnInit
OnDestroy
OnChanges
selector | tr[isDataSelectable] |
imports |
FormsModule
EUI_INPUT_CHECKBOX
|
templateUrl | ./eui-table-v2-selectable-row.component.html |
Methods |
|
Inputs |
HostBindings |
Accessors |
isChecked |
Type : boolean
|
Default value : false
|
Wheter the row is selected. |
isDataSelectable |
Type : DATA
|
Data of the row. |
isKeyboardSelectable |
Type : boolean
|
Default value : false
|
Wheter the selection can be done with the keyboard. |
class |
Type : string
|
Public toggleCheckedState | ||||||||
toggleCheckedState(e: Event)
|
||||||||
Handle the change of the selected status.
Parameters :
Returns :
void
|
cssClasses |
getcssClasses()
|
Computes and returns the CSS classes for the component based on its current state.
Returns :
string
|