Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create option to prepend template #6

Open
chrisabrams opened this issue Dec 31, 2015 · 3 comments
Open

Create option to prepend template #6

chrisabrams opened this issue Dec 31, 2015 · 3 comments

Comments

@chrisabrams
Copy link

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'})
@jwerle
Copy link
Contributor

jwerle commented Dec 31, 2015

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
#6.

@chrisabrams
Copy link
Author

Me either :O but expect a PR soon!

@jwerle
Copy link
Contributor

jwerle commented Dec 31, 2015

@chrisabrams Cool, I've added you as a collaborator to this project !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants