Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Sep 2, 2021
1 parent 6fb677c commit 39f8e88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.0](https://github.com/metonym/svelte-intersection-observer/releases/tag/v0.8.0) - 2021-09-02

- use `.svelte.d.ts` extension for component TypeScript definition

## [0.7.1](https://github.com/metonym/svelte-intersection-observer/releases/tag/v0.7.1) - 2021-07-05

**Documentation**
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Then, simply bind to the reactive `intersecting` prop to determine if the elemen
<IntersectionObserver {element} bind:intersecting>
<div bind:this={element}>Hello world</div>
</IntersectionObserver>
```

### Once
Expand All @@ -67,7 +66,6 @@ Set `once` to `true` for the intersection event to occur only once. The `element
<IntersectionObserver once element={element2} bind:intersecting={intersectOnce}>
<div bind:this={element2}>Hello world</div>
</IntersectionObserver>
```

### on:observe event
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-intersection-observer",
"version": "0.7.1",
"version": "0.8.0",
"license": "MIT",
"description": "Detect if an element is in the viewport using the Intersection Observer API",
"author": "Eric Liu (https://github.com/metonym)",
Expand Down

0 comments on commit 39f8e88

Please sign in to comment.