Browser::Browser: Difference between revisions
MrPancakers (talk | contribs) m (Was using the old browser template) |
No edit summary |
||
| Line 15: | Line 15: | ||
let browser = mp.browsers.new("package://index.html"); | let browser = mp.browsers.new("package://index.html"); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
See [[Package Protocol]] for more info on the <code>package://</code> url. | |||
==See Also== | ==See Also== | ||
{{Browser_definition_c}} | {{Browser_definition_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
Revision as of 21:09, 3 July 2018
Function: Creates a browser
Parameters
- URL: String
Syntax
Client-Side
mp.browsers.new(url);
Example
let browser = mp.browsers.new("package://index.html");
See Package Protocol for more info on the package:// url.
See Also
- Functions:
- Properies: