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...
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-modalwere created:https://atmospherejs.com/peppelg/bootstrap-3-modal
Notice how
peppelg:bootstrap-3-modaluses 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...