Skip to content

Commit

Permalink
feat(Fab): update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Sep 5, 2024
1 parent 735ccfc commit 27d863a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/fab/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ exports[`Fab Fab draggable demo works fine 1`] = `
icon="gesture-press"
text="拖我"
usingCustomNavbar="{{true}}"
yEdge="{{
Array [
0,
32,
]
}}"
bind:click="handleClick"
bind:move="handleMove"
/>
Expand Down
1 change: 1 addition & 0 deletions src/fab/_example/draggable/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
aria-label="增加"
usingCustomNavbar
draggable
y-edge="{{[0, 32]}}"
></t-fab>

0 comments on commit 27d863a

Please sign in to comment.