UNPKG

ngx-obelisco-example

Version:

Componentes funcionales y reutilizables para Angular.

55 lines (54 loc) 2.32 kB
import { LogoHeader, NavbarRoute, NavbarRouteAccount, NavbarRouteLogin, SearchbarItem } from 'ngx-obelisco-example/core/models'; import { OCustomContentDirective } from 'ngx-obelisco-example/directives'; import { AfterViewInit, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core'; import { Router } from '@angular/router'; import * as i0 from "@angular/core"; export declare class ONavbarComponent implements OnInit, AfterViewInit, OnDestroy { private router; private elementRef; private renderer; id: string; logo: LogoHeader; isRouteExact: boolean; routes: NavbarRoute[]; routesExtended: NavbarRoute[]; routesAccount: NavbarRouteAccount; routesLogin: NavbarRouteLogin; idMain: string; customClasses: string; searchbarItems: SearchbarItem[]; maxLengthResults: number; placeholder: string; navbarSearchResponsive: ElementRef; searchResults: ElementRef; navbarContent: ElementRef; term: string; isHover: boolean; noResults: boolean; filteredResults: SearchbarItem[]; selectedIndex: number; isMenuExpanded: boolean; loginClassMobile: { classMobile: string; }; private clickOutsideListener; constructor(router: Router, elementRef: ElementRef, renderer: Renderer2); oCustomContent?: OCustomContentDirective; ngOnInit(): void; ngAfterViewInit(): void; search(): void; resetSearch(): void; goTo(e: SearchbarItem): void; onEnter(): void; onUp(): void; onDown(): void; onMouseEnter(): void; onMouseLeave(): void; scrollToContent(): void; ngOnDestroy(): void; closeDropdownMenu(): void; onClick(event: MouseEvent): void; toggleMenu(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ONavbarComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ONavbarComponent, "o-navbar", never, { "id": "id"; "logo": "logo"; "isRouteExact": "isRouteExact"; "routes": "routes"; "routesExtended": "routesExtended"; "routesAccount": "routesAccount"; "routesLogin": "routesLogin"; "idMain": "idMain"; "customClasses": "customClasses"; "searchbarItems": "searchbarItems"; "maxLengthResults": "maxLengthResults"; "placeholder": "placeholder"; }, {}, ["oCustomContent"], ["*"], false>; }