UNPKG

joicomponents

Version:

Design patterns to build native web components

53 lines (37 loc) 1.05 kB
# Event: PinchSpin * EarlyBird, CallShotgun * ReplaceDefaultAction (not PriorEvent nor AfterthoughtEvent) * FilterByAttribute * EventSequence * EventAttribute * TakeNote * ListenUp * GrabTarget * GrabTouch, for the mouse and touch version respectively. The only thing to save by having them as one, is lines of code for for example the ReplaceDefaultAction and FilterByAttribute patterns. ## What is the pinchSpin Events tomax short description of what and how the pinch and spin events work. ## pinchSpin attributes * `pinch`: will trigger * `pinch-start` * `pinch-move` * `pinch-end` * `pinch-cancel`: 1. tomax 2. tomax * `pinch-distance` * `pinch-duration` * `spin`: will trigger the fling event ## Code ```javascript //[1] mark each use of the patterns only, //[2] mark the description of what the dragFling event does if it works out ok. ``` 1. comment 2. comment ## Example 1: wheel of fortune?? ```html ``` ## References *