touchcontroller
Advanced tools
Comparing version 3.6.0 to 3.7.0
@@ -17,3 +17,3 @@ import { MultitouchControllerDebugLayer } from './debug/MultiTouchControllerDebugLayer'; | ||
import { MultitouchController } from './multitouch/MultitouchController'; | ||
import { multitouchTransforms } from './multitouch/multitouchTransforms/multitouchTransforms'; | ||
import { IMultitouchTransformsOptions, multitouchTransforms } from './multitouch/multitouchTransforms/multitouchTransforms'; | ||
import { multitouchTransformsOnElement } from './multitouch/multitouchTransforms/multitouchTransformsOnElement'; | ||
@@ -31,2 +31,2 @@ import { Touch } from './touch/Touch'; | ||
import { padArray } from './utils/padArray'; | ||
export { sign, Touch, Scene, IEvent, average, padArray, IElement, Particle, IListener, Awaitable, TouchFrame, Multitouch, SourceCache, EventManager, emulateTouch, VectorAverage, TAverageItems, TouchListener, MouseListener, DrawController, CanvasRectangle, TouchController, ITouchController, IParticleOptions, IElementListeners, createImageFromSrc, createCanvasFromSrc, multitouchTransforms, MultitouchController, IEmulateTouchOptions, particleOptionsAverage, IParticleOptionsExternals, TouchControllerDebugLayer, createColoredCanvasFromSrc, IEmulateTouchOptionsAdvanced, getBoundingClientRectEnhanced, multitouchTransformsOnElement, MultitouchControllerDebugLayer }; | ||
export { sign, Touch, Scene, IEvent, average, padArray, IElement, Particle, IListener, Awaitable, TouchFrame, Multitouch, SourceCache, EventManager, emulateTouch, VectorAverage, TAverageItems, TouchListener, MouseListener, DrawController, CanvasRectangle, TouchController, ITouchController, IParticleOptions, IElementListeners, createImageFromSrc, createCanvasFromSrc, multitouchTransforms, MultitouchController, IEmulateTouchOptions, particleOptionsAverage, IParticleOptionsExternals, TouchControllerDebugLayer, createColoredCanvasFromSrc, IMultitouchTransformsOptions, IEmulateTouchOptionsAdvanced, getBoundingClientRectEnhanced, multitouchTransformsOnElement, MultitouchControllerDebugLayer }; |
import { Observable } from 'rxjs/internal/Observable'; | ||
import { BoundingBox, Transform, Vector } from 'xyzt'; | ||
import { BoundingBox, ITransform, Transform, Vector } from 'xyzt'; | ||
import { Multitouch } from '../Multitouch'; | ||
export declare function multitouchTransforms(multitouch: Multitouch<BoundingBox>, elementCenter: () => Vector): Observable<Transform>; | ||
export interface IMultitouchTransformsOptions { | ||
multitouch: Multitouch<BoundingBox>; | ||
getElementCenter: () => Vector; | ||
pick?: Array<keyof ITransform>; | ||
} | ||
export declare function multitouchTransforms({ multitouch, getElementCenter, pick, }: IMultitouchTransformsOptions): Observable<Transform>; |
import { Observable } from 'rxjs/internal/Observable'; | ||
import { BoundingBox, Transform } from 'xyzt'; | ||
import { Multitouch } from '../Multitouch'; | ||
export declare function multitouchTransformsOnElement(multitouch: Multitouch<BoundingBox>): Observable<Transform>; | ||
import { Transform } from 'xyzt'; | ||
import { IMultitouchTransformsOptions } from './multitouchTransforms'; | ||
declare type IMultitouchTransformsOnElementOptions = Omit<IMultitouchTransformsOptions, 'getElementCenter'>; | ||
export declare function multitouchTransformsOnElement(options: IMultitouchTransformsOnElementOptions): Observable<Transform>; | ||
export {}; |
import { Observable } from 'rxjs/internal/Observable'; | ||
import { Transform, Vector } from 'xyzt'; | ||
import { ITransform, Transform, Vector } from 'xyzt'; | ||
import { Touch } from '../../main'; | ||
export declare function _twoFingerring(elementCenter: () => Vector, touch1: Touch, touch2: Touch): Observable<Transform>; | ||
interface ITwoFingerringOptions { | ||
touch1: Touch; | ||
touch2: Touch; | ||
getElementCenter: () => Vector; | ||
pick: Array<keyof ITransform>; | ||
} | ||
export declare function _twoFingerring({ touch1, touch2, getElementCenter, pick, }: ITwoFingerringOptions): Observable<Transform>; | ||
export {}; |
{ | ||
"name": "touchcontroller", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"author": "Pavol Hejný <me@pavolhejny.com> (https://pavolhejny.com)", | ||
@@ -5,0 +5,0 @@ "description": "Touch and mouse controller for web apps and games", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
776896
42
1179
1