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:29


goto

Optional goto: string

Name of another menu to navigate to

Defined in

core/src/bbs.ts:31


key

key: string

Hotkey for this menu item

Defined in

core/src/bbs.ts:25


label

label: string

Display label

Defined in

core/src/bbs.ts:27


x

Optional x: number

Explicit X position for this item (bypasses layout system)

Defined in

core/src/bbs.ts:33


y

Optional y: number

Explicit Y position for this item (bypasses layout system)

Defined in

core/src/bbs.ts:35