# @types/rappid

> TypeScript definitions for rappid

Latest version **1.5.36** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/rappid
pnpm add @types/rappid
yarn add @types/rappid
bun add @types/rappid
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.5.36 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/rappid
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rappid
- npm.io page: https://npm.io/package/@types/rappid

## Dependencies (2)

- [jointjs](https://npm.io/package/jointjs.md) ^3.5.5
- [@types/backbone](https://npm.io/package/@types/backbone.md) *

## Recent versions

- 1.5.36 (latest) — 2023-11-07
- 1.5.33 (ts4.0) — 2022-07-26
- 1.5.32 (ts2.8) — 2019-06-19
- 1.5.31 (ts2.3) — 2019-02-14
- 1.5.28 (ts2.0) — 2017-03-21
- 1.5.35 — 2023-10-18
- 1.5.34 — 2023-09-27
- 1.5.30 — 2017-12-20
- 1.5.29 — 2017-06-15
- 1.5.27 — 2016-09-19
- 1.5.26 — 2016-07-14
- 1.5.25-alpha — 2016-07-08
- 1.5.24-alpha — 2016-07-04
- 1.5.23-alpha — 2016-07-02
- 1.5.22-alpha — 2016-07-01
- … 5 more at https://npm.io/package/@types/rappid/versions

## README

# Installation
> `npm install --save @types/rappid`

# Summary
This package contains type definitions for rappid (http://jointjs.com/about-rappid).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rappid.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rappid/index.d.ts)
````ts
import * as Backbone from "backbone";
import * as joint from "jointjs";

export as namespace joint;

export namespace ui {
    interface Handle {
        name: string;
        position: string;
        icon: string;
    }

    class SelectionView extends Backbone.Model {
        paper: joint.dia.Paper;
        graph: joint.dia.Graph;
        model: Backbone.Collection<joint.dia.Cell>;

        constructor(opt: {
            paper: joint.dia.Paper;
            graph: joint.dia.Graph;
            model: Backbone.Collection<joint.dia.Cell>;
        });

        createSelectionBox(cellView: joint.dia.CellView): void;
        destroySelectionBox(cellView: joint.dia.CellView): void;
        startSelecting(evt: any): void;
        cancelSelection(): void;

        addHandle(handle: Handle): void;
        removeHandle(name: string): void;
        changeHandle(name: string, handle: Handle): void;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/backbone](https://npmjs.com/package/@types/backbone), [jointjs](https://npmjs.com/package/jointjs)

# Credits
These definitions were written by [Ewout Van Gossum](https://github.com/DenEwout).

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