loveorigami / yii2-notification-wrapper

Yii2-notification-wrapper module renders a message from session flash (with ajax, pjax support and etc.) through Growl, Noty, Toastr and more libraries
MIT License
77 stars 20 forks source link

Setting unknown property #23

Closed AlessandroCuba closed 6 years ago

AlessandroCuba commented 6 years ago

I habe this now lo\modules\noty\layers\Growl::registerAnimateCss

this is my config

<?= Wrapper::widget([
    'layerClass' => 'lo\modules\noty\layers\Growl',
    'layerOptions'=>[
        // for every layer (by default)
        'layerId' => 'noty-layer',
        'customTitleDelimiter' => '|',
        'overrideSystemConfirm' => true,
        'showTitle' => true,

        // for custom layer
        'registerAnimateCss' => true,
        'registerButtonsCss' => true
    ],

    // clientOptions
    'options' => [
        'dismissQueue' => true,
        'layout' => 'topRight',
        'timeout' => 3000,
        'theme' => 'relax',
    ],
]); ?>
loveorigami commented 6 years ago

In layer Growl https://github.com/loveorigami/yii2-notification-wrapper/blob/master/src/layers/Growl.php

Not 'registerAnimateCss' => true, 'registerButtonsCss' => true

This custom properties ONLY for https://github.com/loveorigami/yii2-notification-wrapper/blob/master/src/layers/Noty.php