Primitives / DOM

pointedLinks: where the reader may go next

A stream of the address of each link the reader points at or tabs to, on the page's own origin, once while they stay on it (crossing the text inside a link is one link). Without a document it is empty. Map each address to a Message and lift it with Subscription.persistentEntry; the Message's branch in update is where a Data.preload reads the page there ahead. The CMS site and studio do (examples/cms/src/content/siteConfig.ts, examples/cms/src/apps/studioApp.ts).

pointedLinks({ rest }) waits rest (a Duration input, default 50 ms) before a hover or focus counts; a finger still counts at once. A link marked data-preload="none" is never read, by this stream or by visibleLinks; the mark goes on the a itself.