Closed nomagick closed 2 years ago
document.fragmentDirective should be present after polyfill ever loded. Regardless of document.location.hash.
document.fragmentDirective
document.location.hash
https://github.com/GoogleChromeLabs/text-fragments-polyfill/blob/f4b176f8361bf3f6c5861932d8b8c6c469343335/src/text-fragments.js#L20-L29
My use case:
text-fragments
document.fragmentDirective
should be present after polyfill ever loded. Regardless ofdocument.location.hash
.https://github.com/GoogleChromeLabs/text-fragments-polyfill/blob/f4b176f8361bf3f6c5861932d8b8c6c469343335/src/text-fragments.js#L20-L29
My use case:
text-fragments
functionalitytext-fragments
avaliable, create text-fragments enabled links on the same page.