N°2847 Allow user to minimize/close alerts

This commit is contained in:
Stephen Abello
2020-11-26 11:13:28 +01:00
parent 8f151b84c9
commit 340b9134c0
5 changed files with 133 additions and 3 deletions

View File

@@ -34,6 +34,10 @@ class Alert extends UIBlock
// Overloaded constants
public const BLOCK_CODE = 'ibo-alert';
public const HTML_TEMPLATE_REL_PATH = 'components/alert/layout';
public const JS_TEMPLATE_REL_PATH = 'components/alert/layout';
public const JS_FILES_REL_PATH = [
'js/components/alert.js',
];
// Specific constants
/** @var string ENUM_COLOR_PRIMARY */