Skip to content

Commit

Permalink
docs(useTimeout): update
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony committed Sep 16, 2021
1 parent 5d9950d commit eb25b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/useTimeout/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Update value after a given time with controls.
<script>
import { useTimeout, promiseTimeout } from '@svelte-use/core'
const ready = useTimeout(1000, { controls: true })
const { ready, start, stop } = useTimeout(1000, { controls: true })
console.log($ready) // false
Expand Down

0 comments on commit eb25b98

Please sign in to comment.