Skip to content

Commit

Permalink
fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
Gebuz authored Jun 13, 2023
1 parent 369a97b commit 71e8d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can then use GSearch-UI like in the example below.
<g-search data-token="INSERTYOURTOKENHERE"></g-search>
</main>
<script type="module">
import { GSearchUI } from './search.js'
import { GSearchUI } from '@dataforsyningen/gsearch-ui'
customElements.define('g-search', GSearchUI)
document.querySelector("g-search").addEventListener('gsearch:select', (event) => {
// handle the click here
Expand Down

0 comments on commit 71e8d94

Please sign in to comment.