.offscreen {
position: absolute;
left: -10000px;
top: -10000px;
}
Main Calendar View
var originalDocumentTitle = document.title;
function onFetched() {
// getEventSummary will return an object on event detail and null on calendar view.
var eventSummary = spud.getEventSummary();
if (eventSummary) {
document.title = originalDocumentTitle + ": " + eventSummary.description;
} else {
document.title = originalDocumentTitle;}}
var spudId = $Trumba.addSpud({
webName: "sea_uw-press",
spudType:"upcomingpreview",
url:{headinglevel: 3},
teaserBase : "https://uwapress.uw.edu/events/"
});
var spud = $Trumba.Spuds.controller.getSpudById(spudId);
spud.container.addEventListener("onFetched", onFetched);