Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix click event in Vue button example #1686

Merged
merged 3 commits into from
Aug 18, 2017
Merged

Conversation

gustojs
Copy link
Contributor

@gustojs gustojs commented Aug 18, 2017

Issue:

The Button story in Vue examples listens for a custom 'click' event emited from MyButton.vue component, but MyButton.vue lacks such a functionality. When the button is clicked, only an empty method is called.

What I did

The change I suggested is the less intrusive one, keeping the method code as opposite to removing it and emitting an event directly from the template.

The story listens for a custom 'click' event emited from `MyButton.vue` component, but `MyButton.vue` lacks such a functionality. When the button is clicked, only an empty method is called.

The change I suggested is the less intrusive one, keeping the method code as opposite to removing it and emitting an event directly from the template.
@ndelangen ndelangen self-assigned this Aug 18, 2017
@ndelangen ndelangen added vue maintenance User-facing maintenance tasks labels Aug 18, 2017
@codecov
Copy link

codecov bot commented Aug 18, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@3007b37). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1686   +/-   ##
=========================================
  Coverage          ?   20.87%           
=========================================
  Files             ?      251           
  Lines             ?     5629           
  Branches          ?      686           
=========================================
  Hits              ?     1175           
  Misses            ?     3913           
  Partials          ?      541

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3007b37...855df90. Read the comment docs.

@ndelangen ndelangen merged commit 2f5000d into storybookjs:master Aug 18, 2017
@ndelangen
Copy link
Member

Thank you @gustojs for fixing this! Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks vue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants