Skip to content

Commit

Permalink
docs: improve short description
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 8, 2022
1 parent 58a452a commit f5bbe4a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/.vitepress/theme/components/FunctionBadge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ const link = computed(() => {
</script>

<template>
<div text="sm" class="whitespace-nowrap overflow-hidden overflow-ellipsis">
<a v-bind="link" bg="gray-400/5" p="x-1.5 y-0.5" class="rounded items-center" flex="inline gap-1">
<div text="sm" flex="~ gap1" items-center>
<a v-bind="link" bg="gray-400/5" p="x-1.5 y-0.5" class="rounded items-center" flex="inline gap-1 none" my-auto>
<span v-html="styledName(fn.name)" />
<i v-if="fn.external" i-carbon-launch class="opacity-80 text-xs" />
</a>
-
<span class="overflow-hidden overflow-ellipsis" v-html="renderMarkdown(fn.description)" />
<span op50>-</span>
<span class="whitespace-wrap" v-html="renderMarkdown(fn.description)" />
</div>
</template>
2 changes: 1 addition & 1 deletion packages/core/useBluetooth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ category: Browser

# useBluetooth

A reactive for working with the [Web Bluetooth API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API) which provides the ability to connect and interact with Bluetooth Low Energy peripherals.
Reactive [Web Bluetooth API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API). Provides the ability to connect and interact with Bluetooth Low Energy peripherals.

The Web Bluetooth API lets websites discover and communicate with devices over the Bluetooth 4 wireless standard using the Generic Attribute Profile (GATT).

Expand Down
2 changes: 1 addition & 1 deletion packages/core/useNavigatorLanguage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ category: Sensors

# useNavigatorLanguage

Watch for changes being made to the navigator language preference by the user. [Navigator.language MDN](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language)
Reactive [navigator.language](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language).

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/core/useTextareaAutosize/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ category: Browser

# useTextareaAutosize

Automatically update the height of a textarea element depending on its content.
Automatically update the height of a textarea depending on the content.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/core/useWakeLock/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ category: Browser

# useWakeLock

Reactive [Screen Wake Lock API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API) provides a way to prevent devices from dimming or locking the screen when an application needs to keep running.
Reactive [Screen Wake Lock API](https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API). Provides a way to prevent devices from dimming or locking the screen when an application needs to keep running.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/useFuse/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ category: '@Integrations'

# useFuse

Easily implement fuzzy search using a composable on top of the zero-dependency library [Fuse.js](https://github.com/krisk/fuse).
Easily implement fuzzy search using a composable with [Fuse.js](https://github.com/krisk/fuse).

From the Fuse.js website:

Expand Down

0 comments on commit f5bbe4a

Please sign in to comment.