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