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

Extend Projector.append so it can handle Classes as well #128

Open
peterwestendorp opened this issue Sep 13, 2017 · 0 comments
Open

Extend Projector.append so it can handle Classes as well #128

peterwestendorp opened this issue Sep 13, 2017 · 0 comments

Comments

@peterwestendorp
Copy link

Right now, when I want to append a Class based Maquette component, I have to do this:
let dateInput = new DateInput(); projector.initialize(dateInput.renderMaquette.bind(dateInput));

It would be nice if projector.initialize would be able to do the binding for me, so I would only have to pass in a Class: projector.initialize(new DateInput()).
This would also require a change in MaquetteQuery on the initialize method.

@peterwestendorp peterwestendorp added this to the 3.0 milestone Sep 13, 2017
@johan-gorter johan-gorter removed this from the 3.0 milestone Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants