You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to implement a simple login, and I want to create two js function to read and write cookie.
I see that globalThis.core.getUserState() get the session state but how to set some variables?
Also a code like state.call_frontend_function("mymodule", "sendAlert", ["Bob"]) does return None and not what a js function can return.
Any suggestion for login implementation or in general to interact with js scripts? Must I create a component in this case?
The text was updated successfully, but these errors were encountered:
I want to implement a simple login, and I want to create two js function to read and write cookie.
I see that
globalThis.core.getUserState()
get the session state but how to set some variables?Also a code like
state.call_frontend_function("mymodule", "sendAlert", ["Bob"])
does return None and not what a js function can return.Any suggestion for login implementation or in general to interact with js scripts? Must I create a component in this case?
The text was updated successfully, but these errors were encountered: