跳转到内容
本站为社区维护的非官方中文翻译,与 Cloudflare, Inc. 无关联。本站不提供账户登录,请勿在任何非官方站点输入您的 Cloudflare 账户信息。官方文档:developers.cloudflare.com

rtk-file-dropzone

最后更新 查看 MarkdownAgent 设置

属性

属性 类型 必填 默认值 描述
hostEl HTMLElement ✅ - 附加拖放事件的主机元素
iconPack IconPack1 ❌ defaultIconPack 图标包
t RtkI18n1 ❌ useLanguage() 语言

使用示例

基本用法

<!-- component.html -->
<rtk-file-dropzone></rtk-file-dropzone>

带属性用法

<!-- component.html -->
<rtk-file-dropzone
 [hostEl]="htmlelement">
</rtk-file-dropzone>

这篇文档对您有帮助吗?