jamshidbekakhlidinov/yii2-lottie-player

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

This package is auto-updated.

Last update: 2024-10-05 17:11:57 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>