Skip to content

releasenotes_util

Source: base/tealdef/gui/menu/releasenotes_util.d.tl

Notes

Builds the pages of the release-notes window from ReleaseNoteData.

ReleaseNotesUtil

record global base/tealdef/gui/menu/releasenotes_util.d.tl:3

global record ReleaseNotesUtil

Notes

Util table of releasenotes_util.tl.

Functions

createElement(info : ReleaseNoteData.InfoItem, ref? : ReactRefWrap) : TreeNodeId base/tealdef/gui/menu/releasenotes_util.d.tl:4

Notes

Builds the component of one release-note item (title, text and image or logo).

Parameter Type Description
info ReleaseNoteData.InfoItem The item.
ref? ReactRefWrap Ref attached to the text's scroll area when info.scrollable is true. Optional.

Returns TreeNodeId: The component.

createElements(releaseNotes : ReleaseNoteData) : {TreeNodeId} base/tealdef/gui/menu/releasenotes_util.d.tl:5

Notes

Builds the components of all items of the release notes, leaving out items filtered for the current vendor or platform.

Returns {TreeNodeId}: One component per shown item, in order.

createEmpty() : TreeNodeId base/tealdef/gui/menu/releasenotes_util.d.tl:7

Notes

Returns an empty release-note component, used to fill up the last tab page of the window.

Returns TreeNodeId