Slider: fix Slider.md code blocks

pull/2953/head
thyttan 2023-10-10 23:57:08 +02:00
parent 9b882c24bd
commit fae1025494
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ Bangle.on("drag", slider.f.dragSlider);
`configObject` (second argument, optional) has the following defaults:
```JSON
```js
R = Bangle.appRect; // For use when determining defaults below.
{
@ -57,7 +57,7 @@ autoProgress: false, // The slider should be able to progress automati
```
A slider initiated in the Web IDE terminal window reveals its internals to a degree:
```
```js
>slider = require("Slider").create(()=>{}, {autoProgress:true})
={
v: { level: 15, ebLast: 0, dy: 0 },