Skip to content

Commit

Permalink
v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Oct 5, 2021
1 parent d3165f0 commit 3505e97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ 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.9.0](https://github.com/metonym/svelte-intersection-observer/releases/tag/v0.9.0) - 2021-10-05

- improve TypeScript definitions for dispatched events
- `on:observe`: `event.detail.isIntersecting` is a `boolean`
- `on:intersect`: `event.detail.isIntersecting` can only be `true`

## [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
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.8.0",
"version": "0.9.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 3505e97

Please sign in to comment.