@tft/interact
TypeScript icon, indicating that this package has built-in type declarations

15.1.0 • Public • Published

tft/interact

An Angular plugin for the interactjs library

We aim to build a versatile API that exposes all the features of interactjs, but also simplifies implementing common behaviors.

Installation

npm i interactjs @tft/interact --save

Usage

Interactive documentation can be found on Stackblitz.

Here are some basic examples

Draggables

<div tftDraggable
  dragConfig="dragConfig"
  [x]="x"
  [y]="y">
</div>

Any config that will work with with interactjs will work here

dragConfig = {
  enabled = true,
  lockAxis:  'y'
}

Resizable

<div tftResizable></div>

News

  • gesture support in beta
  • Stackblitz Examples

Readme

Keywords

none

Package Sidebar

Install

npm i @tft/interact

Weekly Downloads

1

Version

15.1.0

License

none

Unpacked Size

453 kB

Total Files

44

Last publish

Collaborators

  • nayfin