-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: alert for vue-showcase #718
Conversation
annsch
commented
Mar 23, 2023
- examples and variants for DBAlert Component for Vue Showcase
🔭🐙🐈 Test this branch here: https://db-ui.github.io/mono/review/feat-add-missing-components-in-showcases |
You have successfully added a new CodeQL configuration |
defaultComponentVariants[2].examples[3].code = `<DBAlert>Text</DBAlert>`; | ||
|
||
// Behaviour | ||
defaultComponentVariants[3].examples[0].code = `<DBAlert headline="Headline" :link=\"{href: "#"}\" onClick={()=>{alert("click close button")}}>Alert ${linkSlot}</DBAlert>`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you would use @click
here right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, ofCourse.. copy & paste issue
@annsch will we follow up with this approach or wait for Nicos suggested solution? |
I fear that this will change a lot again through #724 |
@annsch could you please adapt the latest changes by Nico to this PR? |