Skip to content

Commit

Permalink
Updated docs and README
Browse files Browse the repository at this point in the history
  • Loading branch information
tg666 committed Sep 24, 2024
1 parent 5c97abc commit a226667
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 33 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- Added support for banners closing.
- HTML banners can be simply closed via any element with a data attribute `data-amp-banner-close=""`.

### Changed
- Changed arguments that are passed to the listeners `amp:banner:attached`, `amp:banner:state-changed`, `amp:fetch:error` and `amp:fetch:success`. Arguments are now passed as an object, so instead of `(banner) => {}` it is necessary to write `({ banner }) => {}`, respectively `({ response }) => {}` in case of events `amp:fetch:error` and `amp:fetch:success`.
- Updated docs.

## [1.6.0] - 2024-09-19
### Added
- Added support for new banner option `fetchpriority`.
Expand Down
Loading

0 comments on commit a226667

Please sign in to comment.