Open boustanihani opened 9 years ago
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
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-modal
were created: https://atmospherejs.com/peppelg/bootstrap-3-modalNotice how
peppelg:bootstrap-3-modal
uses Blaze methods: https://github.com/PeppeL-G/bootstrap-3-modal/blob/master/main.jsIMO, a bootboxjs wrapper for meteor should follow a similar approach...