build: set up universal checks for drag&drop (#14132)

Adds `drag-drop` to the Angular Universal CI checks.
This commit is contained in:
Kristiyan Kostadinov
2018-11-14 23:17:38 +01:00
committed by Andrew Seguin
parent e213e778b9
commit 096391d317
2 changed files with 11 additions and 1 deletions
@@ -364,3 +364,11 @@
<button mat-raised-button matBadge="99">
Clicky thing
</button>
<h2>Drag and Drop</h2>
<button cdkDrag>Drag me around</button>
<ul cdkDropList>
<li cdkDrag>One</li>
<li cdkDrag>Two</li>
</ul>
@@ -47,6 +47,7 @@ import {
import {BrowserModule} from '@angular/platform-browser';
import {ServerModule} from '@angular/platform-server';
import {FocusMonitor} from '@angular/cdk/a11y';
import {DragDropModule} from '@angular/cdk/drag-drop';
import {Observable, of as observableOf} from 'rxjs';
export class TableDataSource extends DataSource<any> {
@@ -136,7 +137,8 @@ export class KitchenSink {
MatStepperModule,
// CDK Modules
CdkTableModule
CdkTableModule,
DragDropModule,
],
bootstrap: [KitchenSink],
declarations: [KitchenSink, TestEntryComponent],