JonnyBGod / ngx-scrollspy

Angular ScrollSpy Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better looking scrollSpy-index-render

JanikSachs opened this issue · comments

Is there a way to make scrollSpy-index-render use a different class so it can look like a list-group?

Code generated by the scrollSpy-index-render:

<ul class="nav flex-column menu">
    <li class="active ng-star-inserted">
        <a ng-reflect-fragment="SQLServer" href="/chat#SQLServer"> SQLServer </a>
        <ul class="nav menu ng-star-inserted">
            <li class="ng-star-inserted">
                <a ng-reflect-fragment="a" href="/chat#a"> A</a>
            </li>
            <li class="ng-star-inserted">
                <a ng-reflect-fragment="b" href="/chat#b"> B</a>
            </li>
            <li class="ng-star-inserted">
                <a ng-reflect-fragment="API" href="/chat#API"> API </a>
            </li>
            <li class="ng-star-inserted">
                <a ng-reflect-fragment="PlugIn" href="/chat#PlugIn"> PlugIn </a>
            </li>
        </ul>
    </li>
</ul>

Bootstrap Code:

<ul class="list-group">
    <li class="list-group-item">Cras justo odio</li>
    <li class="list-group-item">Dapibus ac facilisis in</li>
    <li class="list-group-item">Morbi leo risus</li>
    <li class="list-group-item">Porta ac consectetur ac</li>
    <li class="list-group-item">Vestibulum at eros</li>
</ul>