Did you know that textContent and innerText, while similar properties, actually have differences in their values that could impact your project? Code from video: gist.github.co...
Пікірлер: 12
@RaghavendraMorisetty-ze6uu7 ай бұрын
Thanks...after seeing so many videos at last your video made me clear
@user-ud9gr9ix8k Жыл бұрын
thanks steve
@lonniesmith8093 Жыл бұрын
Great explanation!
@Icode239510 ай бұрын
Thanks A Lot For Your Clear Explaination.
@ajithmoni1712 Жыл бұрын
Thank you very much. This was really useful
@user-yq7ip3jy3r5 ай бұрын
textContent shows the element in the page or console if its hidden by Css display: none; , but innerText doesnt . so how u saying it doesnt shown on textContent Feature??
@devstefancho Жыл бұрын
Thanks, If I understand right, innerText is a better option for navigator.writeText to copy contents same as what user see in web page.
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Probably. My point is just to be aware that there is a difference and consider how it impacts what you are building.
@Konstantin19877 Жыл бұрын
Thanks
@Wakkyguy Жыл бұрын
👏🏻 👏🏻 👏🏻
@romeojoseph766 Жыл бұрын
I am in!
@anasouardini Жыл бұрын
Hmm, I can't find your channel on odysee!! Good content BTW.