MCPcopy
hub / github.com/lumapps/lumX / _hide

Function _hide

components/notification/js/notification_service.js:71–77  ·  view source on GitHub ↗

* Hide the given notification. * * @param {element} notification The notification html element.

(notification)

Source from the content-addressed store, hash-verified

69 * @param {element} notification The notification html element.
70 */
71 function _hide(notification) {
72 notification.addClass(`${CSS_PREFIX}-notification--is-hidden`);
73
74 $timeout(function waitBeforeDeleting() {
75 notification.remove();
76 }, _TRANSITION_DURATION);
77 }
78
79 /**
80 * Build the notification template.

Callers 2

_buildFunction · 0.85
_notifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected