Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Emit all native events in button component
Browse files Browse the repository at this point in the history
  • Loading branch information
romanslonov committed Apr 1, 2019
1 parent be86e7e commit 128afe3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Empty file added docs/components/modal.md
Empty file.
2 changes: 1 addition & 1 deletion src/components/Button/main.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<button class="button" :class="classes" :disabled="disabled" :type="type">
<button class="button" :class="classes" :disabled="disabled" :type="type" v-on="$listeners">
<slot></slot>
<div class="button__icon" v-if="$slots.icon">
<slot name="icon"></slot>
Expand Down
Empty file added src/components/Modal/index.js
Empty file.
Empty file added src/components/Modal/main.vue
Empty file.

0 comments on commit 128afe3

Please sign in to comment.