riophae / vue-treeselect

A multi-select component with nested options support for Vue.js
https://vue-treeselect.js.org/
MIT License
2.91k stars 509 forks source link

Adding slot for arrow icon #473

Open avivday opened 3 years ago

avivday commented 3 years ago

Will give the flexibility to change the arrow icon of the select box (many design teams ask for it) closing issue #322

adding a custom slot names arrow-icon to the main arrow. also adding same logic to the children arrows

codecov[bot] commented 3 years ago

Codecov Report

Attention: Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 97.32%. Comparing base (9ae16b6) to head (9d5ac91).

Files with missing lines Patch % Lines
src/components/Control.vue 50.00% 1 Missing and 1 partial :warning:
src/components/Option.vue 66.66% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #473 +/- ## ========================================== - Coverage 97.68% 97.32% -0.37% ========================================== Files 27 27 Lines 1037 1046 +9 Branches 104 106 +2 ========================================== + Hits 1013 1018 +5 - Misses 9 11 +2 - Partials 15 17 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Woloja commented 1 year ago

@riophae Hi! Can merge this feature?