@interactjs/core
Advanced tools
Comparing version 1.8.0-alpha.6 to 1.8.0-alpha.7
@@ -18,3 +18,3 @@ import Interactable from './Interactable'; | ||
propagationStopped: boolean; | ||
get interaction(): Pick<import("@interactjs/core/Interaction").Interaction<any>, "end" | "stop" | "start" | "interactable" | "element" | "prepared" | "pointerIsDown" | "pointerWasMoved" | "_proxy" | "move" | "interacting">; | ||
readonly interaction: Pick<import("@interactjs/core/Interaction").Interaction<any>, "end" | "stop" | "start" | "interactable" | "element" | "prepared" | "pointerIsDown" | "pointerWasMoved" | "_proxy" | "move" | "interacting">; | ||
constructor(interaction: Interact.Interaction); | ||
@@ -21,0 +21,0 @@ preventDefault(): void; |
@@ -7,3 +7,3 @@ import { Defaults, Options } from './defaultOptions'; | ||
export declare class Interactable implements Partial<Eventable> { | ||
protected get _defaults(): Defaults; | ||
protected readonly _defaults: Defaults; | ||
readonly options: Required<Options>; | ||
@@ -10,0 +10,0 @@ readonly _actions: Actions; |
@@ -43,18 +43,10 @@ import BaseEvent from './BaseEvent'; | ||
constructor(interaction: Interaction, event: Interact.PointerEventType, actionName: T, phase: P, element: Interact.Element, related?: Interact.Element, preEnd?: boolean, type?: string); | ||
get pageX(): number; | ||
set pageX(value: number); | ||
get pageY(): number; | ||
set pageY(value: number); | ||
get clientX(): number; | ||
set clientX(value: number); | ||
get clientY(): number; | ||
set clientY(value: number); | ||
get dx(): number; | ||
set dx(value: number); | ||
get dy(): number; | ||
set dy(value: number); | ||
get velocityX(): number; | ||
set velocityX(value: number); | ||
get velocityY(): number; | ||
set velocityY(value: number); | ||
pageX: number; | ||
pageY: number; | ||
clientX: number; | ||
clientY: number; | ||
dx: number; | ||
dy: number; | ||
velocityX: number; | ||
velocityY: number; | ||
getSwipe(): { | ||
@@ -61,0 +53,0 @@ up: boolean; |
@@ -119,3 +119,3 @@ import * as utils from '@interactjs/utils/index'; | ||
simulation: any; | ||
get pointerMoveTolerance(): number; | ||
readonly pointerMoveTolerance: number; | ||
/** | ||
@@ -122,0 +122,0 @@ * @alias Interaction.prototype.move |
{ | ||
"name": "@interactjs/core", | ||
"version": "1.8.0-alpha.6", | ||
"version": "1.8.0-alpha.7", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"@interactjs/dev-tools": "1.8.0-alpha.6", | ||
"@interactjs/utils": "1.8.0-alpha.6" | ||
"@interactjs/dev-tools": "1.8.0-alpha.7", | ||
"@interactjs/utils": "1.8.0-alpha.7" | ||
}, | ||
"devDependencies": { | ||
"@interactjs/_dev": "1.8.0-alpha.6", | ||
"@interactjs/actions": "1.8.0-alpha.6", | ||
"@interactjs/auto-start": "1.8.0-alpha.6" | ||
"@interactjs/_dev": "1.8.0-alpha.7", | ||
"@interactjs/actions": "1.8.0-alpha.7", | ||
"@interactjs/auto-start": "1.8.0-alpha.7" | ||
}, | ||
@@ -14,0 +14,0 @@ "publishConfig": { |
@@ -118,3 +118,3 @@ import * as utils from '@interactjs/utils/index'; | ||
readonly buttons: any; | ||
} & MouseEvent & import("@interactjs/types/types").InteractEvent<any, any>) | ({ | ||
} & MouseEvent & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
@@ -175,3 +175,3 @@ readonly page: any; | ||
readonly buttons: any; | ||
} & Touch & import("@interactjs/types/types").InteractEvent<any, any>) | ({ | ||
} & Touch & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
@@ -232,3 +232,3 @@ readonly page: any; | ||
readonly buttons: any; | ||
} & PointerEvent & import("@interactjs/types/types").InteractEvent<any, any>) | ({ | ||
} & PointerEvent & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
@@ -261,3 +261,3 @@ readonly page: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/types/types").InteractEvent<any, any> & MouseEvent) | ({ | ||
} & import("@interactjs/core/InteractEvent").InteractEvent<any, any> & MouseEvent) | ({ | ||
coords: utils.pointer.MockCoords; | ||
@@ -276,3 +276,3 @@ readonly page: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/types/types").InteractEvent<any, any> & PointerEvent) | ({ | ||
} & import("@interactjs/core/InteractEvent").InteractEvent<any, any> & PointerEvent) | ({ | ||
coords: utils.pointer.MockCoords; | ||
@@ -291,3 +291,3 @@ readonly page: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/types/types").InteractEvent<any, any>) | ({ | ||
} & import("@interactjs/core/InteractEvent").InteractEvent<any, any>) | ({ | ||
coords: utils.pointer.MockCoords; | ||
@@ -306,4 +306,4 @@ readonly page: any; | ||
readonly buttons: any; | ||
} & import("@interactjs/types/types").InteractEvent<any, any> & TouchEvent); | ||
start: (action: import("@interactjs/types/types").ActionProps<any>) => boolean; | ||
} & import("@interactjs/core/InteractEvent").InteractEvent<any, any> & TouchEvent); | ||
start: (action: import("@interactjs/core/Interaction").ActionProps<any>) => boolean; | ||
stop: () => void; | ||
@@ -310,0 +310,0 @@ down: () => void; |
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
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
225996
2844