InternalLink - check href startsWith + forward props to <a/>

To make it more accessible and allow customization.
This commit is contained in:
2020-10-26 17:42:51 +05:30
parent c6ad5ff8e3
commit f8c9137b0f
2 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ for (let p of paras) {
}
```
`querySelectorAll` is also available on <b>Element</b> and <b>DocumentFragment</b>, in the <InternalLink title = "same way as querySelector" hash = "link-element-has-qs"/>.
`querySelectorAll` is also available on <b>Element</b> and <b>DocumentFragment</b>, in the <InternalLink href="#link-element-has-qs">same way as querySelector</InternalLink>.
<MDN title="querySelectorAll" url="https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll" />