Skip to content

Commit 3505e97

Browse files
committed
v0.9.0
1 parent d3165f0 commit 3505e97

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ 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.9.0](https://github.com/metonym/svelte-intersection-observer/releases/tag/v0.9.0) - 2021-10-05
9+
10+
- improve TypeScript definitions for dispatched events
11+
- `on:observe`: `event.detail.isIntersecting` is a `boolean`
12+
- `on:intersect`: `event.detail.isIntersecting` can only be `true`
13+
814
## [0.8.0](https://github.com/metonym/svelte-intersection-observer/releases/tag/v0.8.0) - 2021-09-02
915

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

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.8.0",
3+
"version": "0.9.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)