PHP code example of jsila / animate

1. Go to this page and download the library: Download jsila/animate 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/ */

    

jsila / animate example snippets


    'providers' => array(
        //...
        'JSila\Animate\AnimateServiceProvider'
    ),

    Animate::zoomIn();

$options = [
    'infinite', // boolean
    'duration', // string
    'delay', // string
    'direction', // string
    'iteration-count' // int
];

    Animate::zoomIn(['infinite' => true, 'delay' => '.2s']);

$animate = new JSila\Animate\Animate(new Acme\Animate\Session\MySession); // this assumes MySession class is saved in Acme/Animate/Session
$animate->zoomIn(['infinite' => true, 'delay' => '.2s']);