Interact.js

UI Extension

Interact.js is a JavaScript library for drag-and-drop, resizing, and multi-touch gestures with inertia and snapping.

Status
Planned
Supported Version
TBD
Licensing
Open Source
Priority
Rank #149
KEY FEATURES
Drag and drop
Resizable
Multi-touch
Inertia
Snapping
Restriction
Auto-scroll
Usage Example

Here's how you'll use Interact.js with Oorian once the extension is available:

Java
// Create and configure Interact.js component
Interactjs component = new Interactjs();
component.setWidth("100%");
component.setHeight("400px");

// Configure component options
component.setEnabled(true);

// Register for events using Oorian's event model
component.registerForEvent(this, InteractjsEvent.class);

// Add to your page
container.addElement(component);

Note: This is a preview of the expected API. The actual implementation may vary slightly when released.