-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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(components): watermark component #14236
Conversation
👋 @TomatoDroid, seems like this is your first time contribution to element-plus.
|
Hello @TomatoDroid, thank you for contributing to element-plus, please see our guideline to see how to make contribution |
You shouldn't commit the |
be able to set text,multi-text,image as watermark
f245ac4
to
f06e5c4
Compare
🧪 Playground Preview: https://element-plus.run/?pr=14236 |
I solved it。 |
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 agree, this component looks great. What do you think? cc @element-plus/backers |
This a nice component, we should accept it after reviewed. |
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.
The dynamic example is well done.
update the image for dark mode
* feat(components): watermark component be able to set text,multi-text,image as watermark * docs(components): update image watermark example update the image for dark mode
* feat(components): watermark component be able to set text,multi-text,image as watermark * docs(components): update image watermark example update the image for dark mode
be able to set text,multi-text,image as watermark
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.Description
🤖 Generated by Copilot at f245ac4
This pull request adds a new Watermark component to the element-plus package, which allows users to add a watermark effect to any element with text or image content. The pull request includes the component code, types, hooks, utils, and tests, as well as the documentation and examples for the component. The component is imported and exported in the
component.ts
file and the documentation sidebar is updated in thecomponent.json
file.Related Issue
Fixes #___.
Explanation of Changes
🤖 Generated by Copilot at f245ac4
component.json
file, which generates the documentation sidebar for the component library (link)