iniquity

A re-imagining of the iconic BBS software.

View on GitHub

Interface: BBSMenuItem

core/bbs.BBSMenuItem

Menu item definition for declarative menus

Table of contents

Properties

Properties

action

• Optional action: "back" | "quit" | () => any

Action to perform: “back”, “quit”, or a function

Defined in

core/src/bbs.ts:50


goto

• Optional goto: string

Name of another menu to navigate to

Defined in

core/src/bbs.ts:52


key

• key: string

Hotkey for this menu item

Defined in

core/src/bbs.ts:46


label

• label: string

Display label

Defined in

core/src/bbs.ts:48


x

• Optional x: number

Explicit X position for this item (bypasses layout system)

Defined in

core/src/bbs.ts:54


y

• Optional y: number

Explicit Y position for this item (bypasses layout system)

Defined in

core/src/bbs.ts:56