Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MstrVLT committed May 8, 2024
2 parents 91f6fe0 + b7d8438 commit 000a03c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/onLongPress/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function resetDirective() {
<button
v-on-long-press="[onLongPressCallbackDirective, { delay: 1000, modifiers: { stop: true } }]"
class="ml-2button small"
class="ml-2 button small"
>
Press long (with options)
</button>
Expand Down
2 changes: 1 addition & 1 deletion packages/core/useDevicePixelRatio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ category: Sensors

# useDevicePixelRatio

Reactively track [`window.devicePixelRatio`](https://developer.mozilla.org/ru/docs/Web/API/Window/devicePixelRatio)
Reactively track [`window.devicePixelRatio`](https://developer.mozilla.org/docs/Web/API/Window/devicePixelRatio)

> NOTE: there is no event listener for `window.devicePixelRatio` change. So this function uses [`Testing media queries programmatically (window.matchMedia)`](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries) applying the same mechanism as described in [this example](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio#monitoring_screen_resolution_or_zoom_level_changes).
Expand Down
2 changes: 1 addition & 1 deletion packages/core/useMousePressed/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface MousePressedOptions extends ConfigurableWindow {
}

/**
* Reactive mouse position.
* Reactive mouse pressing state.
*
* @see https://vueuse.org/useMousePressed
* @param options
Expand Down

0 comments on commit 000a03c

Please sign in to comment.