Skip to content

Commit

Permalink
feat: implement native ES module support via rollup
Browse files Browse the repository at this point in the history
close marcj#298
  • Loading branch information
JounQin committed Jul 21, 2020
1 parent 4eae465 commit 52d6a28
Show file tree
Hide file tree
Showing 9 changed files with 1,047 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/
yarn.lock
package-lock.json
14 changes: 14 additions & 0 deletions lib/ElementQueries.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export declare class ElementQueries {
/**
* Attaches to DOMLoadContent
*/
static listen(): void;

/**
* Parses all available CSS and attach ResizeSensor to those elements which have rules attached.
* Make sure this is called after 'load' event, because CSS files are not ready when domReady is fired.
*/
static init(): void;
}

export default ElementQueries;
Loading

0 comments on commit 52d6a28

Please sign in to comment.