UNPKG

@cqfactory/component-generator

Version:

Builds ReactJS/Vue/Angular enabled AEM Touch UI components with dialogue.

36 lines 1.45 kB
/** * Imports are all moved to the starter class 'cqfReactLoader', due to problems with obfuscation. */ declare class ReactLoaderCore { model: any; callback: any; uniqueAppId: string | undefined; modelManager: any; constants: any; jspath: any; /** * Iterates over the whole page and searches for all react components with the given * CSS 'uniqueAppId'-ID. Loads the sling model data of it and renders the component than. * * @param callback this function is called to render the react component. * @param uniqueAppId name of the css class for the react component. * @param modelManager Instance of the @adobe/cq-spa-page-model-manager * @param constants Instance of the @adobe/cq-spa-page-model-manager * @param jspath Instance of the https://github.com/dfilatov/jspath */ loadReactComponentsCore: (callback: any, uniqueAppId: string, modelManager: any, constants: any, jspath: any) => void; /** * Search for all components on the page. * @param model */ render: (model: any) => void; /** * Creates and executes a query to get the sling model data for this specific * react component. Calls the rendering callback of the super project to render * it into the html dom. * @param el DOM Element */ renderAppInElement: (el: any) => void; } export default ReactLoaderCore; //# sourceMappingURL=cqfReactLoaderCore.d.ts.map