stigma-ng-dnd v0.0.24-1
"# DLNGDND" Angular2+ support for glowing and drop.
##Features
- supports
- Drag And Drop
Installation
To use stigma-ng-dnd in your project, install it via npm:
$ npm install stigma-ng-dnd
Usage
Import the stigma-telegram into your desired module:
var slogger = require('stigma-ng-dnd');
import { DndModel } from 'stigma-ng-dnd';
constructor(private dnd: DndModel) {
this.dnd.drop.subscribe((value: DndModel) => {
this.mEvent.drop(value);
});
import { DndPack, DndModel } from 'stigma-ng-dnd';
constructor(private dndPack: DndPack) { //offest this.dndPack.get().offsetY = -20; }
drop(value: DndModel) { console.log(value.startBox, value.endBox, value.startElem, value.endElem); }
//html
Development
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago