Skip to content

Commit

Permalink
Add buttons to turn all filter options on/off
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Aug 12, 2024
1 parent 930ea12 commit 6d0bf46
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,23 @@ const examples = [
<div style="padding: 20px;">
Zeige Anreicherungen aus den folgenden Vokabularen:
<ul class="plainList">
<li>
<a
href=""
@click.prevent="state.schemes.forEach(({ uri }) => {
suggestionSchemes[uri] = true
})">
alle aktivieren
</a>
·
<a
href=""
@click.prevent="state.schemes.forEach(({ uri }) => {
suggestionSchemes[uri] = false
})">
alle deaktivieren
</a>
</li>
<li
v-for="scheme in state.schemes.slice().sort((a, b) => {
const aSuggestions = numberOfSuggestionsByScheme[a.uri]
Expand Down Expand Up @@ -670,6 +687,23 @@ const examples = [
<div style="padding: 20px;">
Zeige Anreicherungen basierend auf folgenden Mappingtypen:
<ul class="plainList">
<li>
<a
href=""
@click.prevent="jskos.mappingTypes.forEach(({ uri }) => {
suggestionTypes[uri] = true
})">
alle aktivieren
</a>
·
<a
href=""
@click.prevent="jskos.mappingTypes.forEach(({ uri }) => {
suggestionTypes[uri] = false
})">
alle deaktivieren
</a>
</li>
<li
v-for="type in jskos.mappingTypes.slice().sort((a, b) => {
const aSuggestions = numberOfSuggestionsByType[a.uri]
Expand Down

0 comments on commit 6d0bf46

Please sign in to comment.