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

1.0.0 • Public • Published

Angualr-Draggable

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

Usages

import { NgDraggableModule } from 'angular-draggable'; 
@NgModule({                                   
    imports: [
        ....,                                
        NgDraggableModule                       
    ],
    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 ngx-draggable

Weekly Downloads

5

Version

1.0.0

License

MIT

Last publish

Collaborators

  • coderajay