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

jQuery DOM Manipulation #21

Open
boustanihani opened this issue Mar 15, 2015 · 0 comments
Open

jQuery DOM Manipulation #21

boustanihani opened this issue Mar 15, 2015 · 0 comments

Comments

@boustanihani
Copy link

The bootboxjs library uses jQuery for manipulating the DOM:
https://github.com/TimHeckel/meteor-bootboxjs/blob/v4.3.0/lib/bootbox.js#L700

But shouldn't meteor users avoid manipulating the DOM by jQuery directly and rather use Blaze methods & templates?

That's why packages like peppelg:bootstrap-3-modal were created:
https://atmospherejs.com/peppelg/bootstrap-3-modal

Notice how peppelg:bootstrap-3-modal uses Blaze methods:
https://github.com/PeppeL-G/bootstrap-3-modal/blob/master/main.js

IMO, a bootboxjs wrapper for meteor should follow a similar approach...

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

1 participant