starplate
starplate copied to clipboard
Create option to prepend template
I'm still trying to wrap my head around the project, but I believe this is where the template is actually being added to the view? https://github.com/littlstar/starplate/blob/master/src/view.js#L208
If so, could it be possible to make an option to prepend?
Maybe render
gets a second argument, with optional options? Such as:
render(document.body, {placement: 'prepend'})
Yeah I think that would be great. I'm not at my computer right now, but we'd happily accept a PR!
On Wed, Dec 30, 2015, 5:40 PM Chris Abrams [email protected] wrote:
I'm still trying to wrap my head around the project, but I believe this is where the template is actually being added to the view? https://github.com/littlstar/starplate/blob/master/src/view.js#L208
If so, could it be possible to make an option to prepend?
— Reply to this email directly or view it on GitHub https://github.com/littlstar/starplate/issues/6.
Me either :O but expect a PR soon!
@chrisabrams Cool, I've added you as a collaborator to this project !