@tft/interact
v18.0.0
Published
## An Angular plugin for the interactjs library
Downloads
28
Readme
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