We aim to build a versatile API that exposes all the features of interactjs, but also simplifies implementing common behaviors.
npm i interactjs @tft/interact --save
Interactive documentation can be found on Stackblitz.
Here are some basic examples
<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'
}
<div tftResizable></div>
- gesture support in beta
- Stackblitz Examples