Remove mobile docs menu

This commit is contained in:
hunicus
2022-03-12 01:45:49 -05:00
parent c4e5e45855
commit 85100a93f8
2 changed files with 0 additions and 17 deletions

View File

@@ -19,10 +19,7 @@ export class ApiDocsComponent implements OnInit {
code: any;
baseNetworkUrl = '';
@Input() restTabActivated: Boolean;
@ViewChild( "mobileFixedApiNav", { static: false } ) mobileFixedApiNav: ElementRef;
desktopDocsNavPosition = "relative";
showFloatingDocsNav = false;
mobileMenuOpen = true;
restDocs: any[];
wsDocs: any;
@@ -37,7 +34,6 @@ export class ApiDocsComponent implements OnInit {
setTimeout( () => {
window.addEventListener('scroll', function() {
that.desktopDocsNavPosition = ( window.pageYOffset > 182 ) ? "fixed" : "relative";
that.showFloatingDocsNav = ( window.pageYOffset > ( that.mobileFixedApiNav.nativeElement.offsetHeight + 188 ) ) ? true : false;
});
}, 1 );
}