Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebriday committed Aug 9, 2023
1 parent 4bd4fe1 commit dbbe9db
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.2.0] - 2023-08-08

### Added
- The controller now dispatches two events `success` and `error` so you can trigger actions accordingly.

Example:
```js
// On `document` or on the element directly.
document.addEventListener('content-loader:success', () => {
console.log('Content loaded successfully.')
})

document.addEventListener('content-loader:error', (e) => {
console.error('Something went wrong.', e.detail.error)
})
```

## [4.1.0] - 2022-12-23

### Added
Expand Down

0 comments on commit dbbe9db

Please sign in to comment.