I'm using Meteor 0.9.1.1 and I've added the nemo64:bootstrap and mrt:bootstrap-jasny packages. I'm trying to get offcanvas nav menu to work with it, but my button seems like it's hidden or not being rendered (I'm not sure which). The Meteor bootstrap package came with a custom.json file that allows me to toggle which modules are loaded... maybe I'm missing one, but I don't know. This is the menu http://jasny.github.io/bootstrap/components/#navmenu-offcanvas and here is my code:
<template name="navmenu">
<div class="navbar navbar-default navbar-fixed-top">
<button type="button" class="navbar-toggle" data-toggle="offcanvas" data-target="body" data-canvas="#myNavmenuCanvas" data-placement="left">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<nav id="myNavmenu" class="navmenu navmenu-default navmenu-fixed-left" role="navigation">
<a href="#">Celery seakale</a>
<a href="#">Dulse daikon</a>
<a href="#">Zucchini garlic</a>
<a href="#">Catsear azuki bean</a>
<a href="#">Dandelion bunya</a>
<a href="#">Rutabaga</a>
</nav>
{"modules": {
"normalize": true,
"print": false,
"scaffolding": false,
"type": true,
"code": false,
"grid": true,
"tables": false,
"forms": true,
"buttons": true,
"glyphicons": true,
"button-groups": false,
"input-groups": false,
"navs": true,
"navbar": true,
"breadcrumbs": false,
"pagination": false,
"pager": false,
"labels": false,
"badges": false,
"jumbotron": false,
"thumbnails": false,
"alerts": false,
"progress-bars": false,
"media": false,
"list-group": false,
"panels": false,
"wells": false,
"close": false,
"component-animations": true,
"dropdowns": true,
"modals": false,
"tooltip": false,
"popovers": false,
"carousel": false,
"affix": true,
"alert": false,
"button": true,
"collapse": true,
"scrollspy": true,
"tab": false,
"transition": true,
"utilities": true,
"responsive-utilities": true
}}
I added this in the navmenu.js file and now the menu slides in when the page is loaded, but I still have no button and can't actually "work" the menu.
Template.navmenu.rendered = function() {
$('.navmenu').offcanvas()
}