@egjs/svelte-conveyer
Advanced tools
Comparing version 1.4.7-beta.4 to 1.4.7-beta.5
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-conveyer | ||
version: 1.4.7-beta.4 | ||
version: 1.4.7-beta.5 | ||
*/ | ||
@@ -45,5 +45,3 @@ 'use strict'; | ||
if (props === void 0) { | ||
props = { | ||
horizontal: false | ||
}; | ||
props = {}; | ||
} | ||
@@ -50,0 +48,0 @@ |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-conveyer | ||
version: 1.4.7-beta.4 | ||
version: 1.4.7-beta.5 | ||
*/ | ||
@@ -43,5 +43,3 @@ import { REACTIVE_CONVEYER } from '@egjs/conveyer'; | ||
if (props === void 0) { | ||
props = { | ||
horizontal: false | ||
}; | ||
props = {}; | ||
} | ||
@@ -48,0 +46,0 @@ |
{ | ||
"name": "@egjs/svelte-conveyer", | ||
"version": "1.4.7-beta.4", | ||
"version": "1.4.7-beta.5", | ||
"description": "Svelte Conveyer adds Drag gestures to your Native Scroll.", | ||
@@ -74,4 +74,4 @@ "sideEffects": false, | ||
"@cfcs/svelte": "~0.0.12", | ||
"@egjs/conveyer": "~1.4.7-beta.3" | ||
"@egjs/conveyer": "~1.4.7-beta.4" | ||
} | ||
} |
@@ -6,3 +6,3 @@ import type { SvelteConveyerResult } from "./types"; | ||
function useConveyer(props: ConveyerOptions = { horizontal: false }): SvelteConveyerResult { | ||
function useConveyer(props: ConveyerOptions = {}): SvelteConveyerResult { | ||
const elementRef = useRef<HTMLElement>(); | ||
@@ -9,0 +9,0 @@ const result = useReactive({ |
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
36206
400
Updated@egjs/conveyer@~1.4.7-beta.4