How to show side bar with javascript

I looked in the ActivePresenter guide for the method to show or hide the sidebar, but I did not find it. I wish to insert a button to show or hide the sidebar. How can I do ?

ActivePresenter version 7.5.8


You can show/hide the side bar with JavaScript by using prez.showSidebar. Then, set the true/false value to do the show/hide action.

Remember to set the value of the Side Bar in the Player Settings to Left/Right (other than None).

We will offer the showSidebar() function in the upcoming version 8.0.