san40511 Posted May 6, 2015 Share Posted May 6, 2015 Hello guys I need to implement some functionality from other libs but in order to do this I need set custom id to canvas element where Phaser game was rendered. So my question : How I can do this?Thanks for help! Link to comment Share on other sites More sharing options...
drhayes Posted May 7, 2015 Share Posted May 7, 2015 The game instance that you create to kick off the whole shebang has a "canvas" property. That's the actual-factual HTML element <canvas>. You can set the ID on that. Tilde 1 Link to comment Share on other sites More sharing options...
Recommended Posts