since ‎09-05-2019
‎24-11-2020
lawrencer388181
Level 2
Re: How to interact with an existing coralUI component?
Avatar

lawrencer388181

lawrencer388181
- Adobe Experience Manager
I believe the solution is to simply get the underlying DOM element from the JQuery object. For example, the code below is to interact with a checkbox created within a div with class "rte-dialog-columnContainer";var jqueryCheckbox = $(".rte-dialog-columnContainer coral-checkbox");// then getting the underlying element (assuming there's just one) from the JQuery collection:var coralCheckbox = jqueryCheckbox.get(0);// calling various API methods/attributes:coralCheckbox.checked = true;coralCheckbox...

Views

1.1K

Likes

0

Replies

0
Re: AEM 6.4 with SPA Editor - how to use the experience fragments
Avatar

lawrencer388181

lawrencer388181
- Adobe Experience Manager
Following the approach suggested by JaideepBrar​ for 6.5 I've managed to get the contents of experience fragments displaying on a react app. This is based on the AEM react SPA tutorial.First, a model interface for the component that extends the ContainerExporter interface was created. (FYI, the ContainerExporter interface is referenced in some comments within the BaseComponentExporter class created in the tutorial.)package com.adobe.aem.guides.wkndevents.core.models;import com.adobe.cq.export.js...

Views

2.9K

Likes

4

Replies

0