sveltegram

Reactive Telegram widgets built with svelte

MIT License

Downloads
303
Stars
28
Committers
1

Bot releases are hidden (Show)

sveltegram - v1.1.10 Latest Release

Published by amr3k 8 months ago

  • Updated dependencies
  • Using svelte 5

Full Changelog: https://github.com/amr3k/sveltegram/compare/v1.1.8...v1.1.10

sveltegram - v1.1.8

Published by amr3k 11 months ago

dependencies update

sveltegram - Version 1.1.5

Published by amr3k almost 2 years ago

sveltegram - Version 1.1.2

Published by amr3k almost 2 years ago

[Chore] Updated dependencies

sveltegram - Version 1.1.1

Published by amr3k over 2 years ago

sveltegram - Version 1.1.0

Published by amr3k over 2 years ago

This version comes with a small bug fix that occurs when a dev wants to automatically load comments from a channel using <link rel="canonical" href="page_url"> , after changing any property like theme at runtime, the widget fails to load comments.

So I added pageURL property to the discussion widget which must be the same as the one in <link> tag, this way it will preserve reactivity at runtime.

sveltegram - v1.0.0

Published by amr3k over 2 years ago

Added login widget

This solves #1

sveltegram - v0.0.8

Published by amr3k over 2 years ago

Using Telegram script to load the iframe and adjust its height.
The iframe then is being reactive with dark mode and color changes.

In the past, I was loading iFrame manually but couldn't adjust its height dynamically due to CORS.
The current method works well.