Decorate its for when there is already a Dom structure on the page.
Render is for when the component should create its own Dom structure.
So if you already have a button in your html you would call decorate
on it with goog.ui.button but if you needed to create the element on
the page you would use render
On May 17, 9:44 pm, siddharth trikha <
siddharthtrik...@gmail.com>
wrote: