extended exaple

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2024-12-14 19:42:44 +07:00
parent ca9df906ca
commit b0a1c8b9dc

View File

@ -2,6 +2,22 @@
Module for creating "hot lines" Module for creating "hot lines"
## Example ## Example
```html
<section id="wrap_articles">
<!-- First element -->
<article>
<h3>Place</h3>
</article>
<!-- Second element -->
<div>
<p>here</p>
</div>
<!-- Third element -->
<a>anything</a>
</section>
```
```js ```js
// Initializing an instance of hotline manually // Initializing an instance of hotline manually
const instance = new hotline( const instance = new hotline(