Document/Examples of {{md-sidenav}}
Closed this issue · 2 comments
jhr007 commented
I found there is an md-sidenav as a component but it's documented on: http://mike1234.com/ember-material-design/#/buttons
peec commented
There are many examples inside the dummy app:
md-sidenav specifically in application.hbs:
mike1o1 commented
As peec mentioned, the main dummy app has a sidenav you can use as an example. I'll add a demo page eventually.
Also, be sure to hook into the didTransition
event to hide the navbar on transition.
import Ember from 'ember';
var ApplicationRoute = Ember.Route.extend({
actions: {
didTransition: function() {
this.controller.set('sidebarVisible', false);
}
}
});
export default ApplicationRoute;