ustadev/yii2-lottie-player

v1.0.1 2023-11-05 14:46 UTC

This package is auto-updated.

Last update: 2024-12-05 17:37:32 UTC


README

Install

composer require ustadev/yii2-lottie-player

Ishlatilishi

<div class="d-flex justify-content-center">

    <?php
    use ustadev\widgets\LottiePlayer;
    echo LottiePlayer::widget([
        'src' => 'https://assets7.lottiefiles.com/packages/lf20_tmsiddoc.json',
        'options' => [
            'style' => [
                'width' => '400px',
            ],
        ]
    ]);
    ?>

</div>