#124 double click navigation, 'preview' event

This commit is contained in:
Denys Vuika
2016-06-08 14:49:47 +01:00
parent 7d1911b189
commit 4dd1073f70
7 changed files with 105 additions and 37 deletions

View File

@@ -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;

View File

@@ -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>