PHP code example of dominus77 / yii2-mixitup3-widget

1. Go to this page and download the library: Download dominus77/yii2-mixitup3-widget library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

dominus77 / yii2-mixitup3-widget example snippets


<?= \dominus77\mixitup3\MixItUp::widget([
    'containerId' => 'mix_container',
    'content' => $this->render('@vendor/dominus77/mixitup3/views/basic'), // example
    'clientOptions' => [
        'animation' => [
            'enable' => true,
        ],
        'selectors' => [
            'target' => '.mix',
            'control' => '[data-mixitup-control]',
        ],
    ],
]); 



use dominus77\mixitup3\assets\ExampleBasicAsset;

ExampleBasicAsset::register($this);

php composer.phar