Welcome to the #resistance.

Stimulus Connect is the release tracker and news aggregator for Stimulus and its surrounding ecosystem, including StimulusReflex and CableReady.

@darkroom-com/dropzone-input 2.0.2

A stimulus.js based controller to add dropzone support to Rails forms

trobrock trobrock

Published — 9 months ago
Updated — about 2 hours ago

https://github.com/darkroom-com/dropzone_input#readme

https://github.com/darkroom-com/dropzone_input

https://github.com/darkroom-com/dropzone_input/issues

MIT

Controllers available: dropzone

Requires Stimulus 1.1.1 and Ruby on Rails

 

Installation

Shell
rake webpacker:install:stimulus
yarn add @darkroom-com/dropzone-input
index.js
import { Application } from 'stimulus'
import { definitionsFromContext } from 'stimulus/webpack-helpers'
import Dropzone from '@darkroom-com/dropzone-input'
const application = Application.start()
const context = require.context('controllers', true, /_controller.js$/)
application.load(definitionsFromContext(context))
application.register('dropzone', Dropzone)

Not using webpack? No problem.

  • cropperjs
  • utif

Recently Updated

New Releases

Search by Tag

Swiperactioncableajaxanimated-numberapp-bridgeasynchronously-load-HTMLaudioautocompleteautosavebehaviorbindingbootstrapbulmacablecablereadycallbackscarouselcharacter-counterchatchattercheck-allcheckboxcheckbox-select-allcommandscommunicationcomponentscompositioncontent-loadercontrollerdata-bindingdatatablesdevelopmentdistance-from-nowdjangodomelementseventexistenceflatpickrformgetaddress.iogridheaderhelpersherokuheyhidehotkeysimageinputiosjavascriptjerksjestkeystrokelazylightboxlightgallerymapsmodalmorphdommp3on/offoverlaypaginationparticles.jsplaceholderpopoverprefetchprogress-barrailsrails-remoterails-ujsreactivereflexremoteresource-hintsresponsiverevealrollup-pluginrollup.jsrubyscroll-progressshopifyshortcutshowsliderssoundspeedssrstickystimulusstimulus-controllerstimulus-jsstimulus-reflexstimulus-togglestimulus.jsstimulus_reflexstimulusjsstimulusreflexstripestripe.jssurplusswiperjsswitchtabletabstailwindcsstestingtextareatime-agotippytoggletransitionsturbolinksujsuppercaseutilitesutilityuxvalidationwebdevwebsockets