Browser::Browser
Function: Creates a browser
Parameters
- URL: String
Syntax
Client-Side
mp.browsers.new(url);
Example
Client-Side
mp.events.add('playerReady', () => { let browser = mp.browsers.new("package://index.html"); });
See Package Protocol for more info on the package://
url.
U can use browser events: BrowserCreated, BrowserLoadingFailed, BrowserDomReady
See Also
- Functions:
- Properies: