Seeking guidance on creating a hidden navbar that becomes visible as you scroll the page, using TypeScript. Can anyone provide assistance?
<nav class="navbar navbar-expand-lg navbar-dark pb_navbar pb_scrolled-light w3-animate-right navlist-right " id="navbar">
<div class="container">
<a class="navbar-brand" href="index.html">Website</a>
<button class="navbar-toggler d-block d-sm-none" (click)="toggleNavbar()" type="button" data-toggle="collapse" data-target="#probootstrap-navbar" aria-controls="probootstrap-navbar" aria-expanded="false" aria-label="Toggle navigation">
<span><i class="navbar-toggler-icon"></i></span> </button>
<div class="collapse navbar-collapse " [ngClass]="{ 'show': navbarOpen }" id="onright">
<ul class="navbar-nav ml-auto">
<li class="nav-item active"><a class="nav-link" href="#" >Home <span class="sr-only">(current)</span></a></li>
<li class="nav-item active"><a class="nav-link" href="#service" >Service</a></li>
<li class="nav-item active"><a class="nav-link" href="#blog">Blog</a></li>
<li class="nav-item active"><a class="nav-link" href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>