UP | HOME

Table of Contents

Module: yalms.ui

Classes

Class: YalmsUI

Class: NAreaNotificationOpts

Fields
  • type (string)
  • text (string)
  • dismiss? (integer)

Class: NArea (extends EventEmitter)

Fields
  • _opts (NAreaOpts)
  • _win (snacks.win)
  • _ns (integer)
  • _emark? (integer)
  • _timer? ({) close: fun() }
  • on (fun(s: NArea, e: 'n', c: fun(e: 'notification', p: NAreaNotification))) | fun(s: NArea, e: 'notification', c: fun(e: 'notification', p: NAreaNotification))
  • emit (fun(s: NArea, e: 'n', p: NAreaNotification)) | fun(s: NArea, e: 'notification', p: NAreaNotification)
  • handler (fun(s: NArea, p: NAreaNotification))

Functions

new(opts)

NArea:new

Parameters
  • opts (NAreaOpts, optional)

_handlenotification(notification)

NArea:_handle_notification

Parameters
  • notification (NAreaNotification)