Hi, I need to manually render a template and pass the result html string to a 3rd party library. I tried the following:
App.TooltipView = Ember.View.extend template: Ember.TEMPLATES['tooltip']
view = App.TooltipView.create() buffer = Ember.RenderBuffer('div') view.render(buffer) buffer.string()
it didn’t work. I get an error message: Uncaught You can’t use appendChild outside of the rendering process
what is the correct why to do this?