Skip to content

Commit

Permalink
chore: update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
murtuzaalisurti committed Jun 7, 2024
1 parent 46b7952 commit f056f77
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Added

- Fallback anchor link support when javascript can't execute. ([#5](https://github.com/murtuzaalisurti/back-to-top/pull/5))
- Customizable button content [https://github.com/murtuzaalisurti/back-to-top/pull/5/commits/83dfe0e2d79dea0d77bf4ffdc4b16c0b073934cd](https://github.com/murtuzaalisurti/back-to-top/pull/5/commits/83dfe0e2d79dea0d77bf4ffdc4b16c0b073934cd).
- Customizable button content [83dfe0e](https://github.com/murtuzaalisurti/back-to-top/pull/5/commits/83dfe0e2d79dea0d77bf4ffdc4b16c0b073934cd).

```html
<back-to-top throttle="350">
<a href="#" style="position: fixed; left: 1rem; bottom: 2rem;">back-to-top</a>
<template>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>
</template>
</back-to-top>
```

## [v2.0.0](https://www.npmjs.com/package/@murtuzaalisurti/back-to-top/v/2.0.0)

Expand Down

0 comments on commit f056f77

Please sign in to comment.