-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.lua
15 lines (15 loc) · 1.49 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- DEFAULT can be configured in event
config = {
layout = 'popups', -- Accepted values: popups or panel.
position = 'top-right', -- Accepted values: top-left, center, top-right, bottom-right, bottom-left or inline.
theme = 'compact', -- Accepted values: default, compact, minimal (compact is edited and default)
icons = true, -- show or hide icons default true
insert = 'before', -- Accepted values: after or before.
pool = 0, -- Default: 0 Limits the number of concurrent notification elements that can be rendered within the notifications container at any given time. A value of 0 means that there is no limit.
sticky = false, -- Default: false A boolean designating whether the notification elements should be removed automatically when they expire or whether they should stay in the DOM until they are removed manually.
pauseOnHover = true, -- Default: true A boolean designating whether the notifications expiration control should pause when hovering over the wrapper element. Can only be set on class instantiation.
life = 4000, -- Default: 3000 Expiration time for non-sticky notification elements in milliseconds.
progressbar = true, -- A boolean designating whether the life time progress bar will be displayed for each notification element
effect = 'slide', -- The animation effect when adding or removing notification elements. Accepted values: fade or slide.
easing = 'ease-in-out', -- linear, ease, ease-in, ease-out, ease-in-out or a custom cubic-bezier value.
}