class cq-droptarget in touch ui image component | Community
Skip to main content
January 22, 2018
Solved

class cq-droptarget in touch ui image component

  • January 22, 2018
  • 4 replies
  • 1925 views

Hi,

I want to know the use of class="cq-droptarget" when we make an image component using the sling:resourceType = granite/ui/components/foundation/form/fileupload.

I tried removing the property but could not see any change. Thanks in advance.

Regards,

Ankush Dhingra

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

That is simply the class attribute for granite types - Common Attributes — Granite UI 1.0 documentation

4 replies

smacdonald2008
Level 10
January 22, 2018

I am not seeing that in the code or the prop at:

/libs/granite/ui/components/foundation/form/fileupload/fileupload.jsp

I see:

/**

       * The drop zone selector to upload files from file system directly (if browser allows it).

       */

      - dropZone (String)

January 22, 2018

Hi,

I see it here :

  • /libs/wcm/foundation/components/textimage/cq:dialog/content/items/image/items/column/items/file
  • /libs/wcm/foundation/components/image/cq:dialog/content/items/image/items/column/items/file

I am using AEM 6.2

Regards,

Ankush Dhingra

smacdonald2008
smacdonald2008Accepted solution
Level 10
January 22, 2018

That is simply the class attribute for granite types - Common Attributes — Granite UI 1.0 documentation

June 26, 2018

i am in process to migrate coralui 2 to coralui 3. File upload component in CORALUI 3 doesn't have any way for drag and drop files from asset explore on left. Can you please share any reference implementation to migrate fileupload component?