Skip to content

Instantly share code, notes, and snippets.

@phvaillant
Created September 26, 2019 10:30
Show Gist options
  • Save phvaillant/3233040a00d006878302e22db5607fb4 to your computer and use it in GitHub Desktop.
Save phvaillant/3233040a00d006878302e22db5607fb4 to your computer and use it in GitHub Desktop.
<ods-dataset-context context="nobel" nobel-dataset="nobel-prize-laureates" nobel-domain="public" nobel-parameters="{'disjunctive.category':true}">
<p>
Display the filters applied to a dataset. It can be very useful when creating a page because it will help debug the code if necessary.
</p>
<ods-facets context="nobel">
<h3>
Category
</h3>
<ods-facet name="category"></ods-facet>
</ods-facets>
<h3>
The parameters of the Nobel Prize datasets are the following: {{nobel.parameters}}
</h3>
</ods-dataset-context>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment