mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: set up universal checks for drag&drop (#14132)
Adds `drag-drop` to the Angular Universal CI checks.
This commit is contained in:
committed by
Andrew Seguin
parent
e213e778b9
commit
096391d317
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user