Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswex authored Feb 10, 2020
1 parent 7dcb006 commit 3d1a696
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions facets_dive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ Provided you've loaded the `<facets-dive>` Polymer element, you can insert an in
<facets-dive></facets-dive>
```

Facets Dive makes use of HTML imports. So in order to use it, you must first load the appropriate polyfill, through `<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.3.3/webcomponents-lite.js"></script>`, as shown in the demo notebooks in this repo.

To set the data, you'll need to add a little JavaScript.
In your code, first get a reference to this DOM element, then assign your array of objects to the `data` attribute.

Expand Down

0 comments on commit 3d1a696

Please sign in to comment.