23.0.1 • Published 3 months ago

@logo-elements/notification v23.0.1

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
3 months ago

@logo-elements/notification

A web component for providing feedback to the user.

npm version

<logo-elements-notification opened position="middle" duration="-1"></logo-elements-notification>

<script>
  const notification = document.querySelector('logo-elements-notification');

  notification.renderer = function (root) {
    root.textContent = 'Your work has been saved';
  };
</script>

Installation

Install the component:

npm i @logo-elements/notification -s

Once installed, import the component in your application:

import '@logo-elements/notification';

For more detailed information, please visit:

Logo Elements Documentation ↗