Hi,
Im getting the following error in serenity app.menu.component in setTimeout(() => {
jQuery(this.layoutMenuScroller).nanoScroller({ flash: true });
}, 10);
core.js:1350 ERROR TypeError: jQuery(...).nanoScroller is not a function.
It is working fine but how can I make the error go away?
Appreciate any help with the issue.
Error jQuery(...).nanoScroller
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Can you try?
delete this and
write this
delete this
Code: Select all
jQuery(this.layoutMenuScroller).nanoScroller();
write this
Code: Select all
jQuery(this.layoutMenuScrollerViewChild.nativeElement).nanoScroller();
Hello,
I've the same Problem. I use systemjs and added the nanoscroller in the systemjs.config.js but i become "nanoScroller is not a function"
Is your Problem fixed?
I've the same Problem. I use systemjs and added the nanoscroller in the systemjs.config.js but i become "nanoScroller is not a function"
Code: Select all
'nanoscroller': 'npm:nanoscroller/bin/javascripts/jquery.nanoscroller.js',
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Do you have nanoscroller installed?
Yes of Course
Code: Select all
"dependencies": {
"@angular/animations": "^5.1.3",
"@angular/common": "^5.1.3",
"@angular/compiler": "^5.1.3",
"@angular/compiler-cli": "^5.1.3",
"@angular/core": "^5.1.3",
"@angular/forms": "^5.1.3",
"@angular/http": "^5.1.3",
"@angular/platform-browser": "^5.1.3",
"@angular/platform-browser-dynamic": "^5.1.3",
"@angular/platform-server": "^5.1.3",
"@angular/router": "^5.1.3",
"@angular/upgrade": "^5.1.3",
"angular-in-memory-web-api": "^0.5.2",
"bootstrap": "^3.3.7",
"core-js": "^2.5.3",
"font-awesome": "^4.7.0",
"fullcalendar": "^3.8.0",
"jquery": "^3.2.1",
"chart.js": "^2.7.1",
"moment": "^2.20.1",
"nanoscroller": "0.8.7",
"primeng": "^5.0.2",
"quill": "^1.3.4",
"rxjs": "^5.5.6",
"systemjs": "^0.20.19",
"zone.js": "^0.8.19"
},
"devDependencies": {
"@types/jasmine": "2.8.3",
"@types/node": "^8.5.5",
"@types/fullcalendar": "^3.8.0",
"@types/jquery": "^3.2.17",
"@types/moment": "^2.13.0",
"@types/nanoscroller": "^0.8.2",
"canonical-path": "0.0.2",
"concurrently": "^3.5.1",
"jasmine-core": "~2.8.0",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^1.0.1",
"karma-jasmine": "^1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"lite-server": "^2.3.0",
"lodash": "^4.17.4",
"protractor": "~5.2.2",
"rimraf": "^2.6.2",
"tslint": "^5.8.0",
"typescript": "2.6.2"
},
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests