mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
extra DOM events for DataTable (#1723)
* extra DOM events for DataTable - support for ‘row-click’ DOM event (bubbling) - support for ‘row-dblclick’ DOM event (bubbling) - DataRowEvent exposes ‘sender’ property to simplify access to component from within handlers - readme and test updates * fix unit tests
This commit is contained in:
committed by
Mario Romano
parent
4dc99ae66a
commit
f8427e61e1
@@ -56,10 +56,13 @@ export class DataSorting {
|
||||
|
||||
export class DataRowEvent extends BaseUIEvent<DataRow> {
|
||||
|
||||
constructor(value: DataRow, domEvent: Event) {
|
||||
sender: any;
|
||||
|
||||
constructor(value: DataRow, domEvent: Event, sender?: any) {
|
||||
super();
|
||||
this.value = value;
|
||||
this.event = domEvent;
|
||||
this.sender = sender;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user