@prose-reader/core
Advanced tools
Comparing version 1.98.0 to 1.99.0
import { SpineLocator } from '../../spine/locator/SpineLocator'; | ||
export declare const normalizeEventForViewport: <E extends MouseEvent | TouchEvent | PointerEvent>(event: E, locator: SpineLocator) => E; | ||
export declare const normalizeEventForViewport: <E extends MouseEvent | TouchEvent | PointerEvent>(event: E, iframeOriginalEvent: E, locator: SpineLocator) => E; |
import { Reader } from '../../../reader'; | ||
import { ViewportPosition } from '../../../navigation/viewport/ViewportNavigator'; | ||
import { UserNavigationEntry } from '../../../navigation/UserNavigator'; | ||
export declare class ManualNavigator { | ||
@@ -21,3 +22,5 @@ protected reader: Reader; | ||
}): void; | ||
goToSpineItem(indexOrId: number | string): void; | ||
goToSpineItem({ indexOrId, ...rest }: { | ||
indexOrId: number | string; | ||
} & Pick<UserNavigationEntry, "animation">): void; | ||
goToNextSpineItem(): void; | ||
@@ -32,3 +35,6 @@ goToPreviousSpineItem(): void; | ||
goToBottomSpineItem(): void; | ||
goToPageOfSpineItem(pageIndex: number, spineItemId: string | number): void; | ||
goToPageOfSpineItem({ pageIndex, spineItemId, ...rest }: { | ||
pageIndex: number; | ||
spineItemId: string | number; | ||
} & Pick<UserNavigationEntry, "animation">): void; | ||
} |
{ | ||
"name": "@prose-reader/core", | ||
"version": "1.98.0", | ||
"version": "1.99.0", | ||
"type": "module", | ||
@@ -28,3 +28,3 @@ "main": "./dist/index.umd.cjs", | ||
"dependencies": { | ||
"@prose-reader/shared": "^1.98.0" | ||
"@prose-reader/shared": "^1.99.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "0e67f5672f3e906d58996f7b81cf4b6140739b4b" | ||
"gitHead": "b539a915b3a02d1e27eb2321eed095361d5c5dcd" | ||
} |
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 not supported yet
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
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
1915417
165
21149
Updated@prose-reader/shared@^1.99.0