How to make polaris dropzone HTML work with JS

Shopify Partner
27 0 2

Hi there,

 

I am not sure if this could be achieved without react js, but I want to confirm this, below is what I am trying to do.

 

I am creating a shopify app in php. So there is a need to uploading an image through the app dashboard. So check the polaris component and there i found a very good Dropzone option (more info can be found https://polaris.shopify.com/components/actions/drop-zone#navigation) . i took the HTML for this , so this gave me the good design for the image upload, but the problem is it is not functional (obviously).

 

So here what i wanted to know is , if there is any chance I could make this feature with some js/jQuery codes without having to implement it with reactjs. 

 

Any suggestion would be helpful.

 

Thanks!!

 

0 Likes