Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
backbone.marionette-plupload-module
Advanced tools
Readme
#Marionette module for plupload
##Getting started
###Quick start
https://github.com/denar90/backbone.marionette-plupload-module
##Usage
###Initialization
//for example
var MyView = Marionette.ItemView.extend({
template: '<div></div>',
onShow: function() {
new Marionette.PlUploader(this, {
pluploadType: 'queue',
settings: {
runtimes : 'html5,flash,silverlight,html4',
url : "/examples/upload",
chunk_size : '1mb',
rename : true,
dragdrop: true,
filters : {
// Maximum file size
max_file_size : '10mb',
// Specify what files to browse for
mime_types: [
{title : "Image files", extensions : "jpg,gif,png"},
{title : "Zip files", extensions : "zip"}
]
},
// Resize images on clientside if we can
resize: {
width : 200,
height : 200,
quality : 90,
crop: true // crop to exact dimensions
},
// Flash settings
flash_swf_url : '/plupload/js/Moxie.swf',
// Silverlight settings
silverlight_xap_url : '/plupload/js/Moxie.xap'
},
callbacks: {
Browse: function() {
console.log('upload Browse');
},
Error: function() {
console.log('upload error');
},
FilesAdded: function(up, files) {
var html = '';
plupload.each(files, function(file) {
html += '<li id="' + file.id + '">' + file.name + ' (' + plupload.formatSize(file.size) + ') <b></b></li>';
});
document.getElementById('filelist').innerHTML += html;
up.start();
}
}
});
}
});
app.mainRegion.show(new MyView());
##Options
Options for plupload
Type of plupload can have be: core
, ui
, queue
Default template - <div id="plupload-container"></div>
All available settings for plupload.
All available events for plupload.
FAQs
Plupload module for backbone marionette js
The npm package backbone.marionette-plupload-module receives a total of 0 weekly downloads. As such, backbone.marionette-plupload-module popularity was classified as not popular.
We found that backbone.marionette-plupload-module demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.