Socket
Book a DemoInstallSign in
Socket

@bfwk/interactions

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bfwk/interactions

LBF Interactions

latest
Source
npmnpm
Version
0.10.11
Version published
Maintainers
2
Created
Source

Interactions

npm

Shadow DOM compatible drag-and-drop-position library for document builders.

Intention of this library is to not handle the full drag and drop, but to leave the actual manipulation of the DOM to the consumer, since each consumer have differing markups and rendering techniques.

Demo

Run yarn build and open demo/demo.html or demo/demo-shadowdom.html.

Quick example

Basic DOM structure:

// interactable regions
<div class="interactions-region" data-item-id="${id}">
    <div class="interactions-component" data-item-id="${id}">
    // content
    </div>
</div>

Initialization:

TBD

Configurations

TBD

TODOs

  • TODOs is available here.

Resources

FAQs

Package last updated on 22 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts