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 81b874d commit 84ffa17
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/vue-tel-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@
<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 84ffa17

Please sign in to comment.