mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#124 double click navigation, 'preview' event
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Utils */
|
||||
|
||||
:host .non-selectable {
|
||||
user-select: none;
|
||||
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
||||
@@ -27,8 +29,6 @@
|
||||
-webkit-touch-callout: none; /* iOS Safari */
|
||||
}
|
||||
|
||||
/* Utils */
|
||||
|
||||
:host .sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
|
@@ -40,7 +40,7 @@
|
||||
</label>
|
||||
</td>
|
||||
<td *ngFor="#col of data.getColumns()" [ngSwitch]="col.type"
|
||||
class="mdl-data-table__cell--non-numeric data-cell non-selectable {{col.cssClass}}"
|
||||
class="mdl-data-table__cell--non-numeric non-selectable data-cell {{col.cssClass}}"
|
||||
(click)="onRowClick(row, $event)" (dblclick)="onRowDblClick(row, $event)">
|
||||
<div *ngSwitchWhen="'image'">
|
||||
<i *ngIf="isIconValue(row, col)" class="material-icons icon-cell">{{asIconValue(row, col)}}</i>
|
||||
|
Reference in New Issue
Block a user