13 Star 112 Fork 25

novel / e-icon-picker

Merged
!3 可自定义的icon

海棠初上:master novel:master

元谷 Created on: 2021-01-13 16:42

使用方法(svg-icon为admin-element-vue的icon组件):

 <EIconPicker v-model="form.icon" :options="iconOptions">
               <template v-slot:prepend>
                 <svg-icon
                  :name="prefixIcon"
                  class="disabled"
                />
              </template>

               <template v-slot:icon="slotProps">
                  <svg-icon
                  :name="slotProps.icon"
                  class="disabled"
                />
              </template>

          </EIconPicker>
smile 1

0 comments, 1 participants

Show action logs Hide action logs
novel merged Pull Request(Merged by Web) 2021-01-14 09:56
JavaScript
1
https://gitee.com/cnovel/e-icon-picker.git
git@gitee.com:cnovel/e-icon-picker.git
cnovel
e-icon-picker
e-icon-picker

Search