f2f377e3628c6fca2de3bf3504e7141794ecd54e
				
			
			
		
	hotline.mjs
Module for creating "hot lines"
Example
<section id="wrap_articles" style="display: flex">
    <!-- First element -->
    <article>
        <h3>Place</h3>
    </article>
    <!-- Second element -->
    <div>
        <p>here</p>
    </div>
    <!-- Third element -->
    <a>anything</a>
</section>
// 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
Site of Svoboda anarchist organization svoboda/works
Telegram chat-robot market mirzaev/arming
Large project, marketplace system mirzaev/skillparts
but the example is taken from another project that was copied and corrupted by another programmer

Pen in the CodePen
			
		
								Important improvements!
								
	Latest
							
						
					Languages
				
				
								
								
									JavaScript
								
								100%
							
						
					



