@koalarx/ui
Version:
Koala UI is a modern and accessible component library designed to speed up interface development in Angular projects. With simple integration and clear documentation, you can easily build robust and visually appealing applications.
31 lines (28 loc) • 1.04 kB
TypeScript
import * as _angular_core from '@angular/core';
import { OnInit, OnDestroy } from '@angular/core';
interface OnThisPageLink {
label: string;
elementId: string;
}
declare class OnThisPage implements OnInit, OnDestroy {
private readonly router;
readonly translations: {
title: string;
};
links: _angular_core.InputSignal<OnThisPageLink[]>;
activeSection: _angular_core.WritableSignal<string | null>;
linkSections: _angular_core.WritableSignal<{
label: string;
elementId: string;
isActive: boolean;
}[]>;
private onScroll;
constructor();
ngOnDestroy(): void;
ngOnInit(): void;
scrollTo(elementId: string): void;
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnThisPage, never>;
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnThisPage, "kl-on-this-page", never, { "links": { "alias": "links"; "required": true; "isSignal": true; }; }, {}, never, ["[title]"], true, never>;
}
export { OnThisPage };
export type { OnThisPageLink };