sources/demo/app/templates/service.tempalte.txt
import { Component, Input } from '@angular/core';
import { MnFullpageService } from 'ngx-fullpage';
@Component({
selector: 'app',
template: `
<button (click)="fullpageService.moveSectionUp();">Move section up</button>
<button (click)="fullpageService.moveSectionDown();">Move section down</button>
<div mnFullpage [mnFullpageNavigation]="true">
....
</div>
`
})
export class AppComponent {
constructor(public fullpageService: MnFullpageService) {
}
}