Integrate ScrollService into multiple components.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {ScrollService} from '../scroll/scroll.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-privacy',
|
||||
@@ -7,6 +8,7 @@ import {Component} from '@angular/core';
|
||||
styleUrl: './privacy.component.scss'
|
||||
})
|
||||
export class PrivacyComponent {
|
||||
scrollService: any;
|
||||
constructor(public scrollService: ScrollService) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user