ej2-angular-ui-components/components/notifications/README.md

6.2 KiB
Исходник Ответственный История

ej2-angular-notifications

ej2-angular-notifications

This is a commercial product and requires a paid license for possession or use. Syncfusions licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here.

A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

Setup

To install Notification and its dependent packages, use the following command

npm install @syncfusion/ej2-angular-notifications

Components included

Following list of components are available in the package

Badges

Badges can be used to alert users about new or unread messages, notifications, and additional information to the content. This can be used in conjunction with lists to represent each lists timeline such as new, old, and preview.

Message

The Message component has an option to display the messages with severity by differentiating icons and colors to denote the importance and context of the message to the end user.

Toasts

The toast is a small container, in which user can show a single or multiple informative lines with actions.

Supported Frameworks

Notification component is also offered in following list of frameworks.

  1. JavaScript
  2. React
  3. VueJS
  4. ASP.NET Core
  5. ASP.NET MVC
  6. JavaScript (ES5)

Key Features

Badges

  1. Types - Provided 8 different types of Badges.
  2. Predefined Colours - Provided 8 predefined situational colours of Badges.
  3. Position - Supports 3 different positions, such as default, top and bottom.

Message

  1. Severity - Provides an option to display the message with distinctive icons and colors based on the severity type. The available severity types such as Normal, Success, Info, Warning, and Error.
  2. Variants - Provides an option to display the message with predefined appearance variants. The available variants such as Text, Outlined, and Filled.
  3. Visibility - Provides an option to show or hide the message.
  4. Template - Provides an option to customize the content of the message.

Toasts

  1. Position - Enables to position the toast anywhere on the screen. It has a predefined set of positions and custom inputs for position based on the target.
  2. Autohide and TimeOut - Toast can be expired based on the timeOut property; it hides toast automatically when reaches specific time without user interaction.
  3. Multi Toast - Toasts can support to display multiple toasts with various time delay.
  4. Progress Bar - Supports to visually indicate time lapse when the toast expires.
  5. Action Buttons - Supports to add buttons in the toast for archiving any actions within the toast.
  6. Template - User customized element can be defined for the toast using the template property.

Support

Product support is available for through following mediums.

License

Check the license detail here.

Changelog

Check the changelog here

© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.