element-properties - Add MDN links for .innerText

This commit is contained in:
2020-11-08 13:22:00 +05:30
parent f1c96b5608
commit 6fe7a85cd2
+6
View File
@@ -280,3 +280,9 @@ text.innerText = "new text \n and a newline"
// result html -
<span id="text">new text <br/> and a newline</span>
```
<span>
<MDN title="innerText" i url="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText" />&nbsp;
<MDN title="textContent" i url="https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent" />&nbsp;
</span>