Hello,
I'm working to add the RadSideDrawer component to my NativeScript+Angular application. I have found the example project online and have copied verbatim the sidedrawer/getting-started page. I'm getting an error on this bit of code "this.drawer = this.drawerComponent.sideDrawer;" saying the following "TypeError: undefined is not an object (evaluating 'this.drawerComponent.sideDrawer')". I'm not really sure what I'm doing wrong as I'm sure the ui framework is working since other components I'm using still work like the RadDataForm.
Here is the meat of my package json.
"dependencies": {
"@angular/animations": "~4.1.2",
"@angular/common": "~4.1.2",
"@angular/compiler": "~4.1.2",
"@angular/core": "~4.1.2",
"@angular/forms": "~4.1.2",
"@angular/http": "~4.1.2",
"@angular/platform-browser": "~4.1.2",
"@angular/platform-browser-dynamic": "~4.1.2",
"@angular/router": "~4.1.2",
"nativescript-angular": "~3.0.0",
"nativescript-camera": "^3.0.0",
"nativescript-floatingactionbutton": "^3.0.0",
"nativescript-geolocation": "^3.0.0",
"nativescript-google-maps-sdk": "^2.0.3",
"nativescript-plugin-firebase": "^3.11.4",
"nativescript-telerik-ui-pro": "file:///Users/donmatthews/Documents/Telerik/nativescript-ui-pro.tgz",
"nativescript-theme-core": "~1.0.2",
"reflect-metadata": "~0.1.10",
"rxjs": "~5.3.1",
"tns-core-modules": "^3.0.0",
"zone.js": "~0.8.10"
},
"devDependencies": {
"@angular/compiler-cli": "~4.1.2",
"@ngtools/webpack": "1.3.1",
"babel-traverse": "6.24.1",
"babel-types": "6.24.1",
"babylon": "6.17.1",
"copy-webpack-plugin": "~4.0.1",
"extract-text-webpack-plugin": "~2.1.0",
"lazy": "1.0.11",
"nativescript-css-loader": "~0.26.0",
"nativescript-dev-typescript": "~0.4.0",
"nativescript-dev-webpack": "^0.5.0",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.0.2",
"typescript": "~2.2.1",
"webpack": "~2.5.1",
"webpack-sources": "~0.2.3"
},
outside of that the code Im using is exactly as what can be found here.
Some help would be awesome.