PageSourceSearch

https://dashboard.blueknow.com/customers/blueknow/js/blueknow-noti…/blueknow-notifications.js?v=1.81.0.GA

js blueknow.com collected 2026-09-28 09:21:09 UTC 1,733 bytes, 63 lines download raw bytes

1/**
2 * Base namespace.
3 */
4var Blueknow = Blueknow || {};
5/**
6 * Blueknow Notifications 
7 * 
8 * @param This method accepts multiple parameters
9 * - string simple parameter, decorate buttons and highlight main menu.
10 * - map of properties, extra options as menus highlights, buttons and site title.component to apply style on buttons and highlight menus
11 */
12Blueknow.Notifications = {
13		
14		defaultConfig : {
15			"closeButton": false,
16			"debug": false,
17			"positionClass": "toast-top-right",
18			"onclick": null,
19			"showDuration": "500",
20			"hideDuration": "1000",
21			"timeOut": "5000",
22			"extendedTimeOut": "1000",
23			"showEasing": "swing",
24			"hideEasing": "linear",
25			"showMethod": "fadeIn",
26			"hideMethod": "fadeOut"
27		}
28};
29/**
30 * Static calls
31 * 
32 * @param msg, message to display
33 * @param config, custom configuration
34 */
35/** Notify info */
36Blueknow.Notifications.info = function (msg, config) {
37	// Use default config or given one
38	toastr.options = config || Blueknow.Notifications.defaultConfig;
39	toastr.info(msg);
40};
41/** Notify success */
42Blueknow.Notifications.success = function (msg, config) {
43	// Use default config or given one
44	toastr.options = config || Blueknow.Notifications.defaultConfig;
45	toastr.success(msg);
46};
47/** Notify warn */
48Blueknow.Notifications.warn = function (msg, config) {
49	// Use default config or given one
50	toastr.options = config || Blueknow.Notifications.defaultConfig;
51	toastr.warning(msg);
52};
53/** Notify error */
54Blueknow.Notifications.error = function (msg, config) {
55	// Use default config or given one
56	toastr.options = config || Blueknow.Notifications.defaultConfig;
57	toastr.error(msg);
58};
59
60/** Clear all notifications */
61Blueknow.Notifications.clear = function () {
62	toastr.clear();
63};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.