Answer: How to use bootstrap scrollspy on angular 7 project?
Nagarajan R
Posted on September 15, 2020
check the solution here using a directive
for spyScroll
. It listens to scroll event on the page and highlights the current section in view.
import { Directive, Injectable, Input, EventEmitter, Output, ElementRef, HostListener } from '@angular/core';
@Directive({
selector: '[scrollSpy]'
})
export class ScrollSpyDirective {
@Input() public spiedTags = [];
…
💖 💪 🙅 🚩
Nagarajan R
Posted on September 15, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
privacy Caught in the Crunch My Journey from Snacks to 2 Million Exposed Users Privacy
November 30, 2024
devchallenge Submission for the DevCycle Feature Flag Challenge: Feature Flag Funhouse
November 30, 2024