3 ms·
Yes, there's a JS API forge.topbar.addButton for example: http://docs.trigger.io/en/v1.3/modules/topbar.html#addbutton http://docs.trigger.io/en/v1.3/modules/to
by amirnathoo 14y ago
Yes, there's a JS API forge.topbar.addButton for example:
http://docs.trigger.io/en/v1.3/modules/topbar.html#addbutton http://docs.trigger.io/en/v1.3/modules/topbar.html#addbutton
Easiest to just specify text and use the standard button appearance, but you can also choose a specific image. You assign a callback function for when it's clicked.
- untog 14y agoCan you get it to animate the way that native views do when going back and forward (the title text moving and fading horizontally, etc.)? It's a small thing but I kept noticing it. I ended up making an iOS-style header bar in HTML, though I'll openly admit that it's not the greatest solution.