File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -509,17 +509,17 @@ if (screens && screens[0]) {
509
509
510
510
##### Set icon position
511
511
512
- There is two methods ` isIconPositionAdjustable ` and ` changeIconPosition ` .
512
+ There is two methods ` isIconPositionAdjustable ` and ` toggleIconPosition ` .
513
513
The first one checks if it's possible to adjust icon position. If it returns ` 0 ` then it's not possible,
514
514
if a number is greater than ` 0 ` it means that icon position is adjustable.
515
515
The value ` 1 ` stands for the right position, accordingly, the value ` 2 ` stands for left position.
516
- For changing the icon position here is ` changeIconPosition ` method. It changes icon position value ` 1<-->2 ` .
516
+ For changing the icon position here is ` toggleIconPosition ` method. It changes icon position value ` 1<-->2 ` .
517
517
``` js
518
518
const screens = projectDataInstance .getScreens ()
519
519
520
520
if (screens && screens[0 ]) {
521
521
if (screens[0 ].isIconPositionAdjustable ()) {
522
- screens[0 ].changeIconPosition ()
522
+ screens[0 ].toggleIconPosition ()
523
523
}
524
524
}
525
525
```
You can’t perform that action at this time.
0 commit comments