Skip to content

Commit 07d9829

Browse files
author
Igor Chepurnoy
committed
Update README.md
1 parent 5942897 commit 07d9829

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ Once the extension is installed, simply add widget to your page as follows:
2828
1) Usage with ActiveForm and model
2929
```php
3030
echo $form->field($model, "option")->widget(IonSlider::className(), [
31-
'pluginOptions' => [
32-
'min' => 0,
33-
'max' => 1,
34-
'step' => 1,
35-
'onChange' => new \yii\web\JsExpression('
36-
function(data) {
37-
console.log(data);
38-
}
39-
'),
40-
],
41-
]);
31+
'pluginOptions' => [
32+
'min' => 0,
33+
'max' => 1,
34+
'step' => 1,
35+
'onChange' => new \yii\web\JsExpression('
36+
function(data) {
37+
console.log(data);
38+
}
39+
')
40+
]
41+
]);
4242
```
4343
2) Usage without ActiveForm and model
4444
```php

0 commit comments

Comments
 (0)