hypeDocument
is unique to every document. It is constructed by the document loader by initing the runtime and then cached in HYPE.documents
. That is how every extension can keep state at document level if intended, if you store stuff in hypeDocument
or the later introduced hypeDocument.customData
(since Hype build 612, it originated in the Hype StateKit thread). It is the "official" place for data as using hypeDocument directly is possible but not sanctioned.
2 Likes