# angular-draggable-component

> Angular draggable and resizable component

Latest version **0.0.3** (published 2018-12-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-draggable-component
pnpm add angular-draggable-component
yarn add angular-draggable-component
bun add angular-draggable-component
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-12-10 |
| First published | 2018-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 MB |
| Known vulnerabilities | 0 (+8 in 1 direct dependencies) |
| Install scripts | no |
| Author | Gabriele Sato |
| Maintainers | azure06 |
| Keywords | angular, resizable, draggable, component |

## Links

- npm: https://www.npmjs.com/package/angular-draggable-component
- Repository: https://github.com/azure06/angular-draggable-component
- Homepage: https://github.com/azure06/angular-draggable-component#readme
- Issues: https://github.com/azure06/angular-draggable-component/issues
- npm.io page: https://npm.io/package/angular-draggable-component

## Dependencies (2)

- [rxjs](https://npm.io/package/rxjs.md) ~6.3.3
- [@angular/core](https://npm.io/package/@angular/core.md) ~7.0.0

## Recent versions

- 0.0.3 (latest) — 2018-12-10
- 0.0.2 — 2018-12-05
- 0.0.1 — 2018-12-04

## README

# angular-draggable-resizable
Angular draggable and resizable component
=============

angular-draggable-component is an Angular resizable and draggable component.

![alt text](src/assets/angular-draggable-component.gif "Draggable component")

Installation
-----------------

To use with node:

```console
npm install angular-draggable-component
```


Usage
-----------------
Import in typescript `module`

```typescript
import { CardModule } from 'angular-draggable-component';

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, CardModule],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
```

and then in `html` template

```html
<div style="display: relative; height: 1200px;">
  <ard-card drag resize [width]="'320px'" [height]="'240px'">
    <div>
      <div class="content">
        <h2>Lorem ipsum dolor sit amet</h2>
        <p>
          Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
          eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
          minim veniam, quis nostrud exercitation ullamco laboris nisi ut
          aliquip ex ea commodo consequat...
        </p>
      </div>
    </div>
  </ard-card>
</div>
```

---
_Source: https://npm.io/package/angular-draggable-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
