Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 955 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 955 Bytes

Bootstrap packaged for Meteor.js without Glyph Icons.

Usage

meteor add twbs:bootstrap-noglyph

Features requiring JavaScript (such as drop-downs) or custom jQuery plugins like tooltip or popover should work automatically. If they don't work in templates other than body, make sure to run the initialization code in Template.<yourtemplate>.rendered:

Template.foo.rendered = function () {
  this.$('[data-toggle="dropdown"]').dropdown();
  this.$('[data-toggle="tooltip"]').tooltip();
  this.$('[data-toggle="popover"]').popover();
}

For performance reasons, the Tooltip and Popover data-apis are opt-in. Above, we initialize them in the limited scope of the template DOM.

Issues

If you encounter a Meteor-related issue while using this package, please CC @dandv when you file it.