Jump to content

How to hide address bar


qdrj
 Share

Recommended Posts

Found solution by myself :D

This is TypeScript not JS

 

private onLeaveIncorrectOrientation():void {	// ... other stuff ...	document.body.style.margin = "0 0 100px 0";	this.game.time.events.add(100, () => { document.body.style.margin = "0"}, this);}
Link to comment
Share on other sites

  • 7 months later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...