Filepicker Drag-Drop Widget Size

徘徊边缘 提交于 2019-12-12 11:26:51

问题


Is there a way to specify the size of the default drag-drop pane for:

<input type="filepicker-dragdrop"/>

Ideally I want something like the larger Javascript drag-drop pane with a button for manual uploading.


回答1:


Use the data-fp-drag-class property. You'll just have to define your own css class. https://developers.filepicker.io/docs/web/#widgets-drag

http://jsfiddle.net/66z9K/



来源:https://stackoverflow.com/questions/12380014/filepicker-drag-drop-widget-size

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!