Skip to content

jQuery DOM Manipulation #21

@boustanihani

Description

@boustanihani

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions