PHP code example of magenio / magento2-tinyslider

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

    

magenio / magento2-tinyslider example snippets

html
<script>
     er'
    ], function () {
         return tns({
               "container": "<element_selector>",
               "items": 1,
               "responsive": {
               "640": {
                   "edgePadding": 20,
                       "items": 2
               },
               "1024": {
                   "items": 4
               }
           }
       });
    });
</script>