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]) {
509509
510510##### Set icon position
511511
512- There is two methods ` isIconPositionAdjustable ` and ` changeIconPosition ` .
512+ There is two methods ` isIconPositionAdjustable ` and ` toggleIconPosition ` .
513513The first one checks if it's possible to adjust icon position. If it returns ` 0 ` then it's not possible,
514514if a number is greater than ` 0 ` it means that icon position is adjustable.
515515The 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 ` .
517517``` js
518518const screens = projectDataInstance .getScreens ()
519519
520520if (screens && screens[0 ]) {
521521 if (screens[0 ].isIconPositionAdjustable ()) {
522- screens[0 ].changeIconPosition ()
522+ screens[0 ].toggleIconPosition ()
523523 }
524524}
525525```
You can’t perform that action at this time.
0 commit comments