Answers for "get element by id in lwc"

1

get element by id in lwc

let firstClass = this.template.querySelector(".first-class");
let secondClasses = firstClass.querySelectorAll(".second-class");
secondClasses[2].value = 'Some Value';
Posted by: Guest on December-11-2020

Browse Popular Code Answers by Language