1.2.0 • Published 5 years ago

restomax-draggable v1.2.0

Weekly downloads
40
License
-
Repository
-
Last release
5 years ago

Restomax Draggable

Restomax Draggable is an Angular >=2.0.0 module.

Install module

npm install --save restomax-draggable

Import module

import { RMXDraggableModule } from 'restomax-draggable';

@NgModule({
  imports: [
    ...
    RMXDraggableModule,
    ...
  ],
  ...
})
export class AppModule {}

Use Module/Component

<div class="draggable-container">
  <div rmxDraggable
    [index]="'uniq-id'"
    [startLeft]="30"
    [startTop]="30"
    [startWidth]="300"
    [startHeight]="260"
    [unlock]="true"
    [pointStartTop]="50"
    [pointStartBottom]="contentSize.height"
    [pointStartLeft]="160"
    [pointStartRight]="contentSize.width"
    [refresh]="refreshWidget"
    (contextmenu)="openPopoverMenu($event)"
    (dragStart)="onDragStart($event)"
    (dragEnd)="onDragEnd($event)"
  ></div>
</div>

Todo continue doc

Complete documentation...

1.2.0

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago