@logo-elements/notification

23.0.1 • Public • Published

@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 ↗

Package Sidebar

Install

npm i @logo-elements/notification

Weekly Downloads

2

Version

23.0.1

License

See license in LICENSE file

Unpacked Size

14.3 kB

Total Files

4

Last publish

Collaborators

  • furkan.cetin
  • yusufyilmaz
  • serdarates
  • gamzeyapici
  • serhan.gurbuz