Skip to content

Commit

Permalink
fix: Fix Snappable typo in demo website (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-dela authored and daybrush committed Oct 15, 2019
1 parent ed7f1c9 commit 625fc5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/src/consts.ts
Expand Up @@ -424,7 +424,7 @@ import Moveable from "moveable";
const snappable = new Moveable(document.body, {
target: document.querySelector(".snappable"),
snappble: true,
snappable: true,
verticalGuidelines: [0, 150, 200],
horizontalGuidelines: [0, 150, 200],
}).on("drag", ({ target, left, top }) => {
Expand All @@ -439,7 +439,7 @@ return (
<Moveable
target={document.querySelector(".origin")}
origin={true}
snappble={true}
snappable={true}
verticalGuidelines={[0, 150, 200]}
horizontalGuidelines={[0, 150, 200]}
onDrag={({ target, left, top }) => {
Expand Down

0 comments on commit 625fc5e

Please sign in to comment.