design-angular-kit
Version:
Un toolkit Angular conforme alle linee guida di design per i servizi web della PA
48 lines (47 loc) • 1.73 kB
TypeScript
import { ElementRef, OnInit, TemplateRef } from '@angular/core';
import { NavscrollItem } from './navscroll.model';
import * as i0 from "@angular/core";
/**
* Navscroll
* @description Show a list of links to anchor of the document.
*/
export declare class ItNavscrollComponent implements OnInit {
#private;
/**
* Header of the Navscroll
*/
header: string;
/**
* A list of links
*/
items: Array<NavscrollItem>;
/**
* Border position
* @default left
*/
borderPosition: 'left' | 'right';
/**
* Alignment
* @default top
*/
alignment: 'top' | 'bottom';
/**
* Theme
* @default light
*/
theme: 'light' | 'dark';
/**
* Custom template for the content section
*/
pageSectionsTemplate?: TemplateRef<any>;
onScroll(): void;
onResize(): void;
readonly toggleButtonRef: ElementRef<HTMLButtonElement>;
readonly selectedTitle: import("rxjs").Observable<string>;
readonly progressBarValue: import("rxjs").Observable<number>;
readonly isMobile: import("rxjs").Observable<boolean>;
constructor();
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollComponent, "it-navscroll", never, { "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "pageSectionsTemplate": { "alias": "pageSectionsTemplate"; "required": false; }; }, {}, never, never, true, never>;
}