ga icon indicating copy to clipboard operation
ga copied to clipboard

Add uiText, uiInput and uiButton for a DOM-based HTML UI layer

Open kittykatattack opened this issue 10 years ago • 4 comments

kittykatattack avatar Mar 16 '15 19:03 kittykatattack

Hi, I would like to help in this one. !. Can I ?

javimosch avatar Aug 11 '15 15:08 javimosch

@javimosch We would most welcome your contribution!

We're trying to keep the ga.js core script as lightweight as possible (under 6,5 k minified and gzipped), so if you could add uiText, uiButton and uiInput a method modules to the plugins.js script, that would be ideal. But, if you need a few small additions to ga.js, please go ahead :)

kittykatattack avatar Aug 13 '15 17:08 kittykatattack

I will examine plugins.js and see if I can add these three then. Really will come handy cuz I looking forward to develop and small mobile app with the engine. Writing again when I have news. Cheers.

javimosch avatar Aug 16 '15 18:08 javimosch

My guess is that you might have to add a bit of code to the core ga.js file to add a

wrapper around the element. You can then add and position the HTML UI elements inside that wrapper.

kittykatattack avatar Aug 17 '15 17:08 kittykatattack