Skip to content

Commit

Permalink
fix(draggable): replaced DraggableModule in favor of CDK DragDropModule
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Oct 4, 2018
1 parent ebd8e05 commit 41f729a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libs/core/src/lib/menu-data.ts
Expand Up @@ -92,7 +92,7 @@ export const defaultMenu: MenuItem[] = [
],
},
{
name: 'Micro Interactions',
name: 'Micro-Interactions',
icon: 'casino',
disabled: false,
children: [
Expand Down
@@ -1,4 +1,4 @@
<h1 mat-dialog-title [draggable] dragTarget=".mat-dialog-container">{{title}}</h1>
<h1 mat-dialog-title cdkDrag cdkDragHandle cdkDragRootElement=".mat-dialog-container" style="cursor: move">{{title}}</h1>

<form [formGroup]="entityForm" (ngSubmit)="submit()">
<mat-dialog-content>
Expand Down
2 changes: 0 additions & 2 deletions libs/grid/src/lib/grid.module.ts
Expand Up @@ -2,7 +2,6 @@ import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { SharedModule } from '@ngx-starter-kit/shared';
import { AppConfirmModule } from '@ngx-starter-kit/app-confirm';
import { DraggableModule } from '@ngx-starter-kit/draggable';
import { DragDropModule } from '@angular/cdk/drag-drop';
import { NgxPipesModule } from '@ngx-starter-kit/ngx-pipes';
import { AccountsGridListComponent } from './containers/accounts-grid-list/accounts-grid-list.component';
Expand All @@ -15,7 +14,6 @@ import { AccountEditComponent } from './components/account-edit/account-edit.com
@NgModule({
imports: [
SharedModule,
DraggableModule,
DragDropModule,
AppConfirmModule,
NgxPipesModule,
Expand Down

0 comments on commit 41f729a

Please sign in to comment.