Jordan Hall
Jordan Hall
Do I take it the issue here is that there no point in developing new features when you working towards MDC version?
If anyone struggling to get this open without wanting to create a component. You should use a directive as its the most likely what angular team may use. ``` import...
@Helveg change import type to import. I'm running on bleeding edge typescript and Angular. It will still work on older version of angular and typescript. Just cant use new typescript...
@nlappe You are correct in the sense it might not be efficient. I only wrote it in just under 2 hours after studying the component internals. I tried to override...
@lramondev It's not a lack of communication. Material design team haven't come up with a standard for the Mini variant.
@aram-m the issue with animation apparently. However this is basically how i manged it with a directive https://github.com/angular/components/issues/1728#issuecomment-576750289
@angelfraga I've improved the code 😊 so it now works on mode="mini" and thats all you need to do. Blog post: https://medium.com/@LostDeveloper/angular-material-navigation-drawer-adding-support-mode-rail-mini-variant-behaviour-8f7b107700b3 Demo: https://angular-material-mini-variant.stackblitz.io/ Code: **default.config.ts:** ``` Typescript export const...
Looks like specs have finally been given by the material team https://material.io/components/navigation-rail#behavior In it you can merge with the navigation drawer
Sure, I'll create a package shortly. I'm also going to try and create the Rail component and maybe try and make a PR for this.
@maxisam created the NPM package https://www.npmjs.com/package/angular-material-rail-drawer Repo here https://github.com/Jordan-Hall/angular-material-rail-drawer-plugin Any issues please let me know. I've just picked up next blog I need to write and a small freelance role...