Notify

Custom notification system

Parameters description

ParameterTypeDescriptionDefault

description

string?

notification description

'Text'

type

string?

notification type

'info'

duration

number?

notification duration ( in msec )

2500

pos

string?

notification position

set by config

sound

boolean?

enable sound

false

Available positions:

  • 'top-right'

  • 'center-right'

  • 'bottom-right'

  • 'frombelow-right'

  • 'top-left'

  • 'left-center'

  • 'frombelow-left'

Example

HRLib.Notify('Description')

HRLib.Notify('Description', 'info', 2500, 'left-center', true) -- Custom

Preview

Last updated