FineUploader基础qqfile自定义
FineUploader basic qqfile customization
当使用按钮选项初始化 fineUploader 时,它会在按钮元素内创建一个输入文件,title="fineUploader"
,我该如何更改它。 FineUploader 没有 onInitialize 事件或类似事件,所以我不知道何时监听事件并更改输入标题值。
<input style="position: absolute; right: 0px; top: 0px; font-family:Arial;
font-size: 118px; margin: 0px; padding: 0px; cursor: pointer; opacity: 0;
height: 100%;" name="qqfile" multiple="" title="file input"
qq-button-id="39e4cc96-00a2-47c6-a261-752fe0bbdae8" type="file">
Fine Uploader 5.6 允许您自定义底层文件输入元素的 title
属性。来自 the release notes:
...a text.fileInputTitle option was added. This allows the “title” attribute of the file input element managed by Fine Uploader to be customized. The title attribute can be customized via a new “fileInputTitle” property on the “extraButtons” option when creating an extra button as well. This completed a request detailed in case #1526.
当使用按钮选项初始化 fineUploader 时,它会在按钮元素内创建一个输入文件,title="fineUploader"
,我该如何更改它。 FineUploader 没有 onInitialize 事件或类似事件,所以我不知道何时监听事件并更改输入标题值。
<input style="position: absolute; right: 0px; top: 0px; font-family:Arial;
font-size: 118px; margin: 0px; padding: 0px; cursor: pointer; opacity: 0;
height: 100%;" name="qqfile" multiple="" title="file input"
qq-button-id="39e4cc96-00a2-47c6-a261-752fe0bbdae8" type="file">
Fine Uploader 5.6 允许您自定义底层文件输入元素的 title
属性。来自 the release notes:
...a text.fileInputTitle option was added. This allows the “title” attribute of the file input element managed by Fine Uploader to be customized. The title attribute can be customized via a new “fileInputTitle” property on the “extraButtons” option when creating an extra button as well. This completed a request detailed in case #1526.