-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Travis CI User
committed
Feb 26, 2020
1 parent
354da59
commit 1cc6d94
Showing
306 changed files
with
51,899 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# copied from [root]/.npmignore | ||
*.ts | ||
!*.d.ts | ||
*.spec.ts | ||
*.spec.js | ||
dist/docs | ||
guide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Copyright (c) 2012-present Taye Adeyemi <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated | ||
documentation files (the "Software"), to deal in the Software | ||
without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, | ||
and/or sell copies of the Software, and to permit persons to | ||
whom the Software is furnished to do so, subject to the | ||
following conditions: | ||
|
||
The above copyright notice and this permission notice shall | ||
be included in all copies or substantial portions of the | ||
Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | ||
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | ||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
declare module '@interactjs/core/Interactable' { | ||
interface Interactable { | ||
draggable: DraggableMethod; | ||
} | ||
} | ||
declare module '@interactjs/core/defaultOptions' { | ||
interface ActionDefaults { | ||
drag: Interact.DraggableOptions; | ||
} | ||
} | ||
declare module '@interactjs/core/scope' { | ||
interface ActionMap { | ||
drag?: typeof drag; | ||
} | ||
} | ||
export declare type DragEvent = Interact.InteractEvent<'drag'>; | ||
export declare type DraggableMethod = Interact.ActionMethod<Interact.DraggableOptions>; | ||
declare const drag: Interact.Plugin; | ||
export default drag; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
export declare type GesturableMethod = Interact.ActionMethod<Interact.GesturableOptions>; | ||
declare module '@interactjs/core/Interaction' { | ||
interface Interaction { | ||
gesture?: { | ||
angle: number; | ||
distance: number; | ||
scale: number; | ||
startAngle: number; | ||
startDistance: number; | ||
}; | ||
} | ||
} | ||
declare module '@interactjs/core/Interactable' { | ||
interface Interactable { | ||
gesturable: GesturableMethod; | ||
} | ||
} | ||
declare module '@interactjs/core/defaultOptions' { | ||
interface ActionDefaults { | ||
gesture: Interact.GesturableOptions; | ||
} | ||
} | ||
declare module '@interactjs/core/scope' { | ||
interface ActionMap { | ||
gesture?: typeof gesture; | ||
} | ||
} | ||
export interface GestureEvent extends Interact.InteractEvent<'gesture'> { | ||
distance: number; | ||
angle: number; | ||
da: number; | ||
scale: number; | ||
ds: number; | ||
box: Interact.Rect; | ||
touches: Interact.PointerType[]; | ||
} | ||
export interface GestureSignalArg extends Interact.DoPhaseArg<'gesture', Interact.EventPhase> { | ||
iEvent: GestureEvent; | ||
interaction: Interact.Interaction<'gesture'>; | ||
} | ||
declare const gesture: Interact.Plugin; | ||
export default gesture; |
Oops, something went wrong.