Closed analytik closed 9 years ago
There's pretty strict rules on where JavaScript can be added with the bbUI.js toolkit.. it essentially reads the DOM elements for the controls and then entirely re-styles and re-arranges them.. So if you have script tags embedded inline it won't work very well
Thanks for the answer.
My use case was to implement Phaser HTML5 canvas/game framework inside a bbUI app, so I was wondering if I overlooked something obvious in bbUI documentation, and tried to move around stuff on that side, but now I can see that Phaser allows me to easy specify which HTML element to insert its output into, so I'll try again later.
Hi! I'm new here.
Whenever I add some javascript to a screen, BBUI messes around with it and puts it away from my content. For example if I have
then BBUI just whisks away the script and puts it a few layers above. I don't want this to happen. Can I just add some data-bb-do-not-touch-my-elements="yes" attribute to it?