作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在移动站点版本中使用指向 iframe 的“容器”属性,但在这种情况下,inkfilepicker 会为桌面和移动设备发送桌面内容。在属性“容器”被删除时,我得到了一个包含移动内容的新标签。请指教。
selectFilepickerService: function(service){
var maxFilesize = $('#ufilepickContent form[name="filepickerConf"] input[name="max_file_size"]').val();
this.lastService = service;
filepicker.pick({
mimetypes: ['image/*'],
container: 'ufilepickService',
maxSize : maxFilesize,
services : service
}, $.proxy(function(fpfile){
this.saveImage(fpfile.url, fpfile.filename);
}, this));
},
最佳答案
例如,您可以使用 mobile: true 传递参数以强制移动模式
filepicker.pick({
mimetypes: ['image/*'],
container: 'ufilepickService',
mobile: true,
maxSize : maxFilesize,
services : service
}, $.proxy(function(fpfile){
this.saveImage(fpfile.url, fpfile.filename);
}, this));
关于filepicker.io - 墨水文件选择器 : Issue showing mobile version in iframe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18330245/
我的 UWP 应用程序中有一个 InkCanvas,我想显示一个图像(理想情况下作为 Canvas 的一部分,但除此之外,以某种方式覆盖它(我的想法是我可以将更改后的图像保存回图像文件)。WPF 似乎
我是一名优秀的程序员,十分优秀!