Skip to content

sagarguhe/yii2-js-block-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Js Block

A simple Js Block extension

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist tinkers/yii2-js-block "*"

or add

"tinkers/yii2-js-block": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php \tinkers\widgets\JsBlock::begin() ?>
<script>
    $(function(){
        jQuery(".company_introduce").slide({mainCell:".bd ul",effect:"left",autoPlay:true,mouseOverStop:true});
    });
</script>
<?php \tinkers\widgets\JsBlock::end()?>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages