tinkers/yii2-js-block

A simple Js Block extension

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/tinkers/yii2-js-block

1.0.2 2020-10-19 09:30 UTC

This package is not auto-updated.

Last update: 2025-10-01 07:20:09 UTC


README

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()?>