10quality / vue-tree-view

Tree View component for Vue JS.
MIT License
43 stars 20 forks source link

How to replace the node icon? #1

Open cheneyang opened 8 years ago

cheneyang commented 8 years ago

I found that the icons were defined in the css, so is there any api to access the icons to replace them?

amostajo commented 8 years ago

You should fork the project for this.

The template is located at the at src/html, you can play with it to add your own icons.

Once changed, simply minify the template and paste it in the component.

The project comes with grunt tasks that will minify the js for you.

cheneyang commented 8 years ago

Thx!, but I strongly suggest that there should be somewhere or api method to replace icon to diy

amostajo commented 8 years ago

Will brainstorm an idea, thanks for your valid suggestion.

On Jul 1, 2016 2:26 AM, "Cheney Yang" notifications@github.com wrote:

Thx!, but I strongly suggest that there should be somewhere or api method to replace icon to diy

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/10quality/vue-tree-view/issues/1#issuecomment-229887442, or mute the thread https://github.com/notifications/unsubscribe/ABkdVFV-xINEpjTZisU5Kyk-q1gY4XJWks5qRM8-gaJpZM4I-QMl .