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 forwarding of actions handlers #142

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

j3rem1e
Copy link
Contributor

@j3rem1e j3rem1e commented Sep 17, 2023

Closes #107

@j3rem1e j3rem1e added bug Something isn't working documentation Changes only affect the documentation patch Increment the patch version when merged labels Sep 17, 2023
README.md Outdated
@@ -33,7 +33,9 @@ It supports:
</script>

<Template let:args>
<Button {...args} on:click={handleClick}>
<Button {...args}
on:click <-- forwarded for actions
Copy link
Contributor

@benmccann benmccann Sep 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<-- is pretty close to <!-- which I read it as first. it might be nice to actually make it a comment like that and expand the text a bit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was just a way to put a comment near the attribute, but yeah, I'll rewrite that ^^

Copy link
Collaborator

@JReinhold JReinhold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@j3rem1e j3rem1e merged commit 2c47fae into storybookjs:main Sep 21, 2023
1 check passed
@shilman
Copy link
Member

shilman commented Sep 21, 2023

🚀 PR was released in v4.0.8 🚀

@shilman shilman added the released This issue/pull request has been released. label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Changes only affect the documentation patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Documentation] No clear/documented way to use Actions alongside svelte-addon-csf
4 participants