From 70a8bfbb054c3ad342550739aabc870b6a3142af Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Sun, 24 Nov 2024 21:39:11 +0700 Subject: [PATCH] created after 2 years --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0c79465 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# hotline.mjs +Module for creating "hot lines" + +## Example +```javascript +// Initializing an instance of hotline manually +const instance = new hotline( + 'articles', + document.getElementById('wrap_articles') +); + +// Initializing settings of the hotline instance +instance.move = false; +instance.wheel = true; +instance.delta = 15; + +// Starting the hotline instance +instance.start(); +``` + +## Preview +Telegram chat-robot market [mirzaev/arming](https://git.mirzaev.sexy/mirzaev/arming)

+![Alt text](/preview/5.gif)


+Pen in the [CodePen](https://codepen.io/mirzaev-sexy/pen/gOzBZOP)

+![Alt text](/preview/6.gif) \ No newline at end of file