Skip to content

Commit

Permalink
Add "arrow-icon" slot
Browse files Browse the repository at this point in the history
  • Loading branch information
Fakhriddin Umarov committed Jul 17, 2019
1 parent 7f0d74c commit 4665b9e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vue-tel-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
<span
v-if="enabledCountryCode"
class="country-code">+{{ activeCountry.dialCode }}</span>
<span class="dropdown-arrow">{{ open ? "" : "" }}</span>
<slot
:open="open"
name="arrow-icon">
<span class="dropdown-arrow">{{ open ? "" : "" }}</span>
</slot>
</span>
<ul
v-show="open"
Expand Down

0 comments on commit 4665b9e

Please sign in to comment.