Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 955 Bytes

File metadata and controls

45 lines (32 loc) · 955 Bytes

npm npm

Angular-DraggableX

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

Compatibility

Angular-DraggableX Angular
12.0.x >=12.x.x

Usages

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