class cq-droptarget in touch ui image component | Community
Skip to main content
New Participant
Jan 22, 2018 5:08 PM UTC
Solved

class cq-droptarget in touch ui image component

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jan 22, 2018 7:59 PM UTC

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

4 replies

New Participant
Jun 26, 2018 3:05 AM UTC

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?

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jan 22, 2018 7:59 PM UTC

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

Translate
New Participant
Jan 22, 2018 6:50 PM UTC

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

Translate
smacdonald2008
Level 10
Jan 22, 2018 5:20 PM UTC

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)

Translate