intercooler
Version:
Making AJAX as easy as anchor tags
29 lines (19 loc) • 749 B
HTML
---
layout: default
nav: attributes > ic-scroll-offset
---
<div class="container">
<div class="row">
<div class="col-md-12">
<h2><code>ic-scroll-offset</code> - The Scroll Offset Attribute</h2>
<h3>Summary</h3>
<p>The <code>ic-scroll-offset</code> attribute tells Intercooler to apply an offset when scrolling to a given target.
This can be useful when you need an element to be positioned offest from the top of the viewport when using
the <code>ic-scroll-to-target</code> attribute.</p>
<h3>Syntax</h3>
<p>The value of the attribute should a valid integer</p>
<h3>Dependencies</h3>
<p><code>ic-scroll-offset</code> has no dependency implications.</p>
</div>
</div>
</div>