Options
All
  • Public
  • Public/Protected
  • All
Menu

A minibuffer is a kind of single line prompt that allows the user to enter data. As the name suggests, this is inspired from Emacs.

Hierarchy

  • Minibuffer

Index

Constructors

constructor

Properties

Private $input

$input: JQuery

Private $top

$top: JQuery

Private _enabled

_enabled: boolean = false

Protected _events

_events: Subject<ChangeEvent> = new Subject()

The object on which this class and subclasses may push new events.

Private client

client: MinibufferClient | undefined

Private clientSubscription

clientSubscription: Subscription | undefined

Protected events

events: Observable<ChangeEvent> = this._events.asObservable()

The observable on which clients can listen for events.

Private input

input: HTMLInputElement

Private keydownHandler

keydownHandler: KeydownHandler | undefined

The keydown handler that may optionally be set to handle keys with modifiers.

Private previous

previous: string | undefined

Private promptEl

promptEl: HTMLElement

The element that holds the prompt.

Accessors

enabled

  • get enabled(): boolean

prompt

  • get prompt(): string
  • set prompt(value: string): void

Methods

Protected disable

  • disable(): void

Protected enable

  • enable(): void

forwardEvent

  • forwardEvent(ev: JQueryEventObject): void

installClient

Protected onInput

  • onInput(_ev: JQueryKeyEventObject): void

Private onKeydown

  • onKeydown(ev: JQueryKeyEventObject): undefined | boolean

Protected onKeypress

  • onKeypress(_ev: JQueryKeyEventObject): void

uninstallClient

  • uninstallClient(): void

Generated using TypeDoc