clean up
This commit is contained in:
parent
d874ca905c
commit
329dc833b3
1 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,7 @@
|
||||||
<div class="autosuggest" v-click-outside="onClickOutside">
|
<div class="autosuggest" v-click-outside="onClickOutside">
|
||||||
<input v-model="term" :placeholder="placeholder" @click="onInputClick" class="autosuggest-input" />
|
<input v-model="term" :placeholder="placeholder" @click="onInputClick" class="autosuggest-input" />
|
||||||
<div class="autosuggest-results" v-if="resultsVisible && filtered.length > 0">
|
<div class="autosuggest-results" v-if="resultsVisible && filtered.length > 0">
|
||||||
<slot v-for="item in filtered" :item="item">
|
<slot v-for="item in filtered" :item="item" />
|
||||||
</slot>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue