Skip to content

Profectus / features/infoboxes/infobox

features/infoboxes/infobox ​

This feature represents a collapsible box with information that is optional or referencable. This can be used for adding an optional story to the game, a reference sheet the player might not want visible all the time, etc.

ts
const infobox = createInfobox(() => ({
    title: "Some optional lore",
    display: "insert a reference to your favorite media here"
}));

Index ​

Interfaces ​

Variables ​

Functions ​