-
Notifications
You must be signed in to change notification settings - Fork 141
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
[comp:other] add component watermark #924
Labels
Comments
建议下面几个 API 可能需要稍微调整下:
最后,我想知道这些样式的 API,有没有可能让用户配一个 class 的方式直接去自定义?比这种一个一个传是不是方便些。 |
暴露的大部分样式都为canvas参数要求,是不得已暴露的,字体方面的api应该可以收敛下 |
tuchg
added a commit
to tuchg/idux
that referenced
this issue
May 25, 2022
tuchg
added a commit
to tuchg/idux
that referenced
this issue
May 25, 2022
tuchg
added a commit
to tuchg/idux
that referenced
this issue
May 25, 2022
3 tasks
tuchg
added a commit
to tuchg/idux
that referenced
this issue
May 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
当页面需要添加水印标识版权、内部系统防泄密追责等时需使用
What does the proposed API look like?
IxWatermark
WatermarkProps
'text' | 'multiline' | 'image'
'text'
string | string[]
text
: 单行文本水印multiline
: 用于支持多行文本 对应content需传入字符串数组image
: 图像水印 建议使用2倍或3倍图rgba(0,0,0,.15)
'none' | 'normal' | 'italic' | 'oblique'
'normal'| 'light'| 'weight'| number
sans-serif
WatermarkMethods
The text was updated successfully, but these errors were encountered: