Text-Box
Description
<text-box></text-box>Source Code: https://github.com/Monogatari/Monogatari/tree/develop/src/components/text-box
Properties
Name
Description
mode
Default is adv.
The mode the textbox is currently displaying dialogs on, whether adv or nvl mode.
Methods
show(): void
show(): voidShows the text-box element.
checkUnread(): void
checkUnread(): voidThis method is called by the Dialog action after writing an NVL dialog. It will check if the player has an unread dialog (one that was added and the player has to scroll to read it). If there is one, the class unread will be added to the text-box element.
Last updated
Was this helpful?