Open the sidebar from HTML button

i already searched the community but did not found my answer, i want to open sidebar with HTML button.
Please share if any solution

What error you found when click html button and in which component you made html button ?

I am using Webview componant where i am loading a HTML Page and this page has a Button on it and i just want when user click on this HTML button and Sidebar should open.

After lots of tries i did it myself :unamused:

Please share your solution.

The Script i used in my HTML File

let openSidebar = (sidebar) => {
// any other stuff you may need to do before opening the screen.

The HTML Button

input onclick=“openSidebar(‘scr’)” type=“submit” size=“20” id=“buto” value=“Sidebar”


1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.