Skip to content

Commit 97b7d2a

Browse files
committed
chore(package): bump version to 1.2.4;
docs: update README with event description and max-height event;
1 parent fcf432a commit 97b7d2a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,14 @@ Assuming there is `const bottomSheet = ref()`
130130

131131
## Events
132132

133-
| Event | Description | Example |
134-
| ------------- | ------------------------------------------------------------------------------------ | --------------------------- |
135-
| min-height | Fires when the minimum height of the sheet changes. Passes the value as an argument. | `@min-height="(n) => {}"` |
136-
| dragging-up | Fires when the bottom sheet is being dragged up | `@dragging-up="() => {}"` |
137-
| dragging-down | Fires when the bottom sheet is being dragged down | `@dragging-down="() => {}"` |
138-
| opened | Fires when the bottom sheet is opened | `@opened="() => {}"` |
139-
| closed | Fires when the bottom sheet is closed | `@closed="() => {}"` |
133+
| Event | Description | Example |
134+
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |
135+
| min-height | Fires when the minimum height of the sheet changes. Passes the value as an argument. | `@min-height="(n) => {}"` |
136+
| max-height | Fires when the height of the window changes. Passes the value as an argument. Note that this value is throttled to prevent excessive updates. | `@max-height="(n) => {}"` |
137+
| dragging-up | Fires when the bottom sheet is being dragged up | `@dragging-up="() => {}"` |
138+
| dragging-down | Fires when the bottom sheet is being dragged down | `@dragging-down="() => {}"` |
139+
| opened | Fires when the bottom sheet is opened | `@opened="() => {}"` |
140+
| closed | Fires when the bottom sheet is closed | `@closed="() => {}"` |
140141

141142
## Acknowledgments
142143

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"url": "https://github.com/megaarmos/vue-spring-bottom-sheet/issues"
3333
},
3434
"private": false,
35-
"version": "1.2.3",
35+
"version": "1.2.4",
3636
"type": "module",
3737
"exports": {
3838
".": {

0 commit comments

Comments
 (0)