We can use variables in aura components to concatenate some expression, we have to use variable name itself in lwc components
, while looping how to change the lwc comp variable
in js file.
I tried to access the dom
using this.template.querySelector(); but this one is only giving the value if I use a rendered callback.
<template for:each={documentLinks} for:item="item">
//here I need to pass the item.ContentDocument.LatestPublishedVersionId to the end of a URL string
<img src={item.srcUrl} alt="PDF"/>
we can modify the returned data from apex but the data is proxy we cannot modify it.