Fragmention
Categories
Component ID
2247743
Component name
Fragmention
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Fragmentions is a cross between URL "hash" fragment identifiers and in-browser full-text search.
The Fragmention module implements a JavaScript polyfill for the Fragmention concept which was created by Kevin Marks on the Indie Web Camp discussion forum.
Fragmentions find the first matching word or phrase in a document and focuses its closest surrounding element. The match is determined by the case-sensitive string following the ## double-hash. The closest surrounding element may be a span, paragraph, heading, button, input, or any other container.
This module is a simple implementation of Jonathan Neal's Fragmentions script.
