Skip to content

<gn-results-list> (multiple)

Example

You can insert several gn-results-list web component in the same page.

To bind your component to a dedicated search state, provide the search-id input

SCoT

Vélo

Source code

html
<h2>SCoT</h2>
<gn-results-list
  api-url="https://www.geo2france.fr/geonetwork/srv/api"
  catalog-url="https://www.geo2france.fr/datahub/dataset/{uuid}"
  size="5"
  layout="TITLE"
  query="scot"
></gn-results-list>

<h2>Vélo</h2>
<gn-results-list
  api-url="https://www.geo2france.fr/geonetwork/srv/api"
  catalog-url="https://www.geo2france.fr/datahub/dataset/{uuid}"
  size="5"
  primary-color="#343e9c"
  main-font="'Roboto', sans-serif"
  search-id="velo"
  query="velo"
  layout="TITLE"
></gn-results-list>

Released under the GPL-2.0 license.