This package has been deprecated

Author message:

This project has been renamed to [angular-draggable](https://www.npmjs.com/package/angular-draggable). Install using angular-draggable instead.

ng2-draggable
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

Ng2Draggable

A angular2 directive provide html block to move block on html plain.

Deprecated

This project has been renamed to angular-draggable. Install using angular-draggable instead.

Usages

import { Ng2DraggableModule } from 'ng2-draggable'; 
@NgModule({                                   
    imports: [
        ....,                                
        Ng2DraggableModule                       
    ],
    declarations: [YourAppComponent ],
    exports: [YourAppComponent],
    bootstrap: [YourAppComponent],
})
.....
 
 
<div draggable>
    content
 </div>    
 
<div draggable="true">
    content
</div>    
 
<div draggable="false">
    content
</div>    
 

Example

#demo

Package Sidebar

Install

npm i ng2-draggable

Weekly Downloads

32

Version

0.2.2

License

MIT

Last publish

Collaborators

  • coderajay