Skip to content

Commit fc6e408

Browse files
author
marcj
committed
Added more info
1 parent 7cb6e5b commit fc6e408

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,13 @@ <h3>Example CSS</h3>
295295

296296
<h2>
297297
<a name="api" class="anchor" href="#api"><span class="octicon octicon-link"></span></a>API</h2>
298+
299+
After including ElementQueries.js the class attaches the `init` method to `load` of the page,
300+
so it get initialised after all CSS files have been loaded.<br />
301+
<br />
298302
<div class="highlight highlight-html"><pre>
299303
Class ElementQueries()
300-
-> init() // Scans all css rules and attach the event listener
304+
-> init() // Scans all css rules and attach the event listener.
301305

302306
Class ResizeSensor(element, callback)
303307
</pre>

0 commit comments

Comments
 (0)