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
Currently we are building a "idk i call it handler 😂" for handling certain actions regarding the webview
we'll surely expand it by time but here are some existing methods you'll be able to use soon
import{useWebview}from'./useWebview'// ClientconstWebview=useWebview();Webview.page// string - this is the same as Webview.currPageWebview.pages// string[] - existing pagesWebview.currPage// string - current pageWebview.isFocused// boolean - whether the webview is focused or notWebview.setPage("pageNameInRouter")// set the page and our router will directly route to the pageWebview.focus()// sets the focus to the webviewWebview.focused()// returns the Webview.isFocused valueWebview.unfocus()// checks if the nui is focused and sets the focus to false
The text was updated successfully, but these errors were encountered:
useWebview
Currently we are building a "idk i call it handler 😂" for handling certain actions regarding the webview
we'll surely expand it by time but here are some existing methods you'll be able to use soon
The text was updated successfully, but these errors were encountered: