How to use the dropzone.dictDefaultMessage function in dropzone

To help you get started, we’ve selected a few dropzone examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microfocus-idol / find / webapp / idol / src / main / public / static / js / find / app / page / customizations / asset-widget.js View on Github external
], function(_, $, Backbone, Dropzone, AssetViewer, i18n, template) {
    'use strict';

    const DEFAULT_MESSAGE = _.template('<i class="hp-icon hp-3x hp-document-upload"></i><p>&lt;%-message%&gt;</p>')({
        message: i18n['dropzone.dictDefaultMessage']
    });

    return Backbone.View.extend({

        className: 'col-md-12 col-lg-4',

        template: _.template(template),

        initialize: function(options) {
            this.description = options.description;
            this.height = options.height;
            this.title = options.title;
            this.width = options.width;

            this.imageClass = options.imageClass || '';