Skip to content

Commit

Permalink
docs: add information about overriding the global force flag with arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaskuske committed Dec 9, 2018
1 parent 7a1cbe0 commit bc4bdfc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ <h3 id="methods"><span>Methods: <code>destroy</code> and <code>polyfill</code></
<p>If you used <code>destroy()</code> to disable the polyfill,
you can re-enable it with this method. It takes an (optional)
Object as argument, the property <code>force</code> behaves
the same way as the <a href="#force-flag">global force flag</a>
on <code>window</code>.</p>
like the <a href="#force-flag">global force flag</a>, but
overrides it if both are set.</p>
</div>
</div>
<p>⚠ Note that both the global force flag and
Expand All @@ -281,9 +281,7 @@ <h3 id="methods"><span>Methods: <code>destroy</code> and <code>polyfill</code></
if you encounter this problem.</p>
<h3 id="limitations"><span>Limitations</span></h3>
<h4 id="no-regular-stylesheets"><span><code>scroll-behavior</code> is
not
detected in regular
stylesheets</span></h4>
not detected in regular stylesheets</span></h4>
<p>As already explained in the <a href="#usage">Usage</a> section,
<code>scroll-behavior</code>
can not be set in regular CSS, as accessing the property there
Expand Down

0 comments on commit bc4bdfc

Please sign in to comment.