Skip to content

Commit

Permalink
@slidy/core - fix options
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Jan 10, 2023
1 parent f72a117 commit 0e33d46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/lib/slidy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import type { Dom, Options, UniqEvent, EventMap, SlidyInstance } from '../types'
* Simple, configurable, nested & reusable sliding action script
* @see https://github.com/Valexr/slidy/tree/master/packages/core
*/
export function slidy(node: HTMLElement, options: Partial<Options> = {}): SlidyInstance {
export function slidy(node: HTMLElement, opts: Partial<Options> = {}): SlidyInstance {

const options = { ...opts }

let $: () => Dom,
hix = 0,
Expand Down

0 comments on commit 0e33d46

Please sign in to comment.