Skip to content

Commit 39f8e88

Browse files
committed
v0.8.0
1 parent 6fb677c commit 39f8e88

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.8.0](https://github.com/metonym/svelte-intersection-observer/releases/tag/v0.8.0) - 2021-09-02
9+
10+
- use `.svelte.d.ts` extension for component TypeScript definition
11+
812
## [0.7.1](https://github.com/metonym/svelte-intersection-observer/releases/tag/v0.7.1) - 2021-07-05
913

1014
**Documentation**

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Then, simply bind to the reactive `intersecting` prop to determine if the elemen
4747
<IntersectionObserver {element} bind:intersecting>
4848
<div bind:this={element}>Hello world</div>
4949
</IntersectionObserver>
50-
5150
```
5251

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

7371
### on:observe event

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-intersection-observer",
3-
"version": "0.7.1",
3+
"version": "0.8.0",
44
"license": "MIT",
55
"description": "Detect if an element is in the viewport using the Intersection Observer API",
66
"author": "Eric Liu (https://github.com/metonym)",

0 commit comments

Comments
 (0)