Commit 049dcf5913eb2605494365e71180994cc77db396

Authored by Miguel Rodriquez Cabrera
Committed by GitHub
1 parent b924d14d

Update Icon.vue

The component doesn't emit click events to the parent. This update will fix that.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/icon/icon.vue
1 1 <template>
2   - <i :class="classes" :style="styles"></i>
  2 + <i :class="classes" :style="styles" @click="$emit('click')"></i>
3 3 </template>
4 4 <script>
5 5 const prefixCls = 'ivu-icon';
... ...