OptionalactivityOptionalassignmentEither a full assignment document or just its rich-text body. When
an AssignmentFile is supplied, the viewer additionally renders the
title and (if present) the due date / time estimate header.
OptionalcolorsColor overrides; merged with sensible defaults.
OptionalcontentBody content — supplied when assignment isn't (preview mode etc.).
OptionalhideHide the assignment title row (the body is always rendered).
OptionalmaxMax height — when set, the body scrolls.
OptionalminMin height for the rendered body area (CSS length). Default 200.
OptionalonOptional periodic activity tick. Fires every activityTickMs
milliseconds while the viewer is mounted and visible. Consumers wire
this to their own activity-tracking; the SDK doesn't persist it.
OptionalonCalled when the user clicks an embedded file's open action.
OptionalresolveResolve a fileId to a URL the viewer can render (image thumbnails etc.).
OptionaltitleOverride the title rendering. Defaults to assignment?.title.
Tick interval in milliseconds. Default 30s.