UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

31 lines (29 loc) 1.11 kB
// @tapspace.interaction // // Interactions define how gestures affect components. // Interactions are set up via ability methods such as Item:tappable. // The easiest way to use interactions is via the ability methods. // // **Under the hood:** // - Interactions do not share a common interface yet they often consists of // .. methods for binding and unbinding listeners and updating options. // - Interactions are not emitters. They make the components such as Item // emit iteraction events. // // **Dependency chart:** // // ![Tapspace interaction dependency chart](tapspace_interaction_chart.png) // exports.Approach = require('./Approach') exports.Hold = require('./Hold') exports.KeyboardPan = require('./KeyboardPan') exports.KeyboardZoom = require('./KeyboardZoom') // TODO exports.Limit exports.Pinch = require('./Pinch') exports.RealignView = require('./RealignView') // TODO exports.Resize exports.Slide = require('./Slide') exports.Tap = require('./Tap') // TODO exports.WheelPan alias TrackpadPan exports.WheelRotate = require('./WheelRotate') exports.WheelZoom = require('./WheelZoom')