These are chat archives for angular/material

Oct 2017
Josh Smith
Oct 25 2017 04:41

Anyone got good examples of a header with a md-icon button to open the sidenav? I am trying it and getting a crazy error I don’t understand.

TypeError: jit_nodeValue_17(...).open is not a function at Object.eval [as handleEvent] (AppComponent.html:4) at handleEvent (core.es5.js:12022) at callWithDebugContext (core.es5.js:13486) at Object.debugHandleEvent [as handleEvent] (core.es5.js:13074) at dispatchEvent (core.es5.js:8615) at core.es5.js:9226 at HTMLButtonElement.<anonymous> (platform-browser.es5.js:2651) at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (

Josh Smith
Oct 25 2017 05:18
Becuase i was stuck with the above error message, I decided to start over. I didn’t have much of consequence in the app yet anyway.
Followed the “Getting started” instructions on the site and when I ran ng serve I ended up with this
ERROR in /sandbox/clutch2/src/app/app.module.ts (3,9): Module '"/sandbox/clutch2/node_modules/@angular/material/material"' has no exported member 'MdButtonModule'. ERROR in /sandbox/clutch2/src/app/app.module.ts (3,25): Module '"/sandbox/clutch2/node_modules/@angular/material/material"' has no exported member 'MdCheckboxModule'. ERROR in /sandbox/clutch2/src/app/app.module.ts (12,5): Cannot find name 'BrowserAnimationsModule'. ERROR in /sandbox/clutch2/src/app/app.module.ts (15,5): Cannot find name 'MdIconModule'. ERROR in TypeError: Cannot use 'in' operator to search for 'providers' in undefined at /sandbox/clutch2/node_modules/@angular/compiler-cli/src/ngtools_impl.js:111:70 at Array.filter (native) at _extractLazyRoutesFromStaticModule (/sandbox/clutch2/node_modules/@angular/compiler-cli/src/ngtools_impl.js:111:29) at Object.listLazyRoutesOfModule (/sandbox/clutch2/node_modules/@angular/compiler-cli/src/ngtools_impl.js:53:22) at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/sandbox/clutch2/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39) at AotPlugin._getLazyRoutesFromNgtools (/sandbox/clutch2/node_modules/@ngtools/webpack/src/plugin.js:212:44) at _donePromise.Promise.resolve.then.then.then.then.then (/sandbox/clutch2/node_modules/@ngtools/webpack/src/plugin.js:448:24) at process._tickCallback (internal/process/next_tick.js:109:7)
Oct 25 2017 08:33
Can i use this Angular material for Mobile APP projects?
Oct 25 2017 15:31
Its doubtful you can use them in a native app
because they dont use html dom, they use native components
Oct 25 2017 15:39
I mean the Hybrid APPS?