Hi, I need to loop according to given Integer input. Eg - According to user input, i need to repeat to print some HTML elements. if user input is 1,<div> 1 <div> if user input is 2<div> 1 <div><div> 2 <div> How can i achieve this from HTL. Thanks
Thanks, @markus_bulla_adobe for your explanation. I forgot to trigger after the DOM ready, Now i have wrapped the code with the document.ready function. It is working fine now. Thanks for the quick response.
Hi, I have developed one component, Used clientlib library to load the JavaScript inside the component. This below code is used in component HTL.<sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html"/><sly data-sly-call="${clientlib.js @ categories='project.componentname'}"/> ...