@angular/cdk/drag-drop#DragDrop TypeScript Examples
The following examples show how to use
@angular/cdk/drag-drop#DragDrop.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: base-modal.ts From ng-ant-admin with MIT License | 5 votes |
constructor(private baseInjector: Injector, public dragDrop: DragDrop, rendererFactory: RendererFactory2) {
this.bsModalService = this.baseInjector.get(NzModalService);
this.renderer = rendererFactory.createRenderer(null, null);
}
Example #2
Source File: modal-drag.service.ts From ng-ant-admin with MIT License | 5 votes |
constructor(public modal: NzModalService, public dragDrop: DragDrop) {}
Example #3
Source File: bar-drag.ts From ngx-gantt with MIT License | 5 votes |
constructor(
private dragDrop: DragDrop,
private dom: GanttDomService,
private dragContainer: GanttDragContainer,
@SkipSelf() private root: NgxGanttRootComponent
) {}