breadlesscode/neos-notification

Letzte Aktivität 24 Dec 2017 15
composer require breadlesscode/neos-notification

v1.1.0

Version
v1.1.0
Type
neos-plugin
Release Date
Dec 24, 2017 12:12
Source
git
Distribution
zip
Requires
MIT a8c977c291777aac0bf9ad4a309f8166aaf94964

NEOS notifications

Latest Stable Version Downloads license

This package includes a notification component and a notification node type for the backend.

Requirements

  • NEOS >=3.3

Installation

composer require breadlesscode/neos-notification

Configuration

Breadlesscode:
  Notification:
    classes:
      base: 'alert' # if you only set base class, BEM naming is used
      content: 'alert-content'
      info: 'alert-info'
      warning: 'alert-warning'
      danger: 'alert-danger'

Usage

You can use the component like this in fusion:

    notification = Breadlesscode.Notification:NotificationComponent {
        onlyRenderInBackend = ${ false }
        type = 'info'
        content 'Hello world'
        # and you can override the class configuration
        baseClass = 'notification' # for BEM naming
        # if you dont want BEM naming you can set each class manually
        contentClass = 'notification__content'
        containerClass = 'notification'
    }

License

The MIT License (MIT). Please see License File for more information.

The content of the readme is provided by Github
The same vendor provides 10 package(s).