title: Plugin event in Slider Kartik extension for Yii2
body: <p>I tried to use <a href="http://demos.krajee.com/slider" rel="nofollow noreferrer">this</a> extesion. All i want is reply example 6 from official <a href="https://seiyria.com/bootstrap-slider/" rel="nofollow noreferrer">docs</a> Thats what i did:</p>
  
  <pre><code>&lt;?php echo Slider::widget([
  'name'=&gt;'rating_1',
    'value'=&gt;7,
    'sliderColor'=&gt;Slider::TYPE_GREY,
    'pluginEvents' =&gt; [
       "slide" =&gt; "function(slideEvt) { 
          $('#testVal').text(slideEvt.value); 
          }",
     ],
  ]);
  ?&gt;
  &lt;span&gt;Current Slider Value: &lt;span id="testVal"&gt;3&lt;/span&gt;&lt;/span&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/W3LVy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W3LVy.png" alt="enter image description here"></a>
  So as you can see on the picture, i can move slider, but value inside #testVal do not changing. What i did wrong? </p>