UNPKG

@rr0/cms

Version:

RR0 Content Management System (CMS)

17 lines (16 loc) 888 B
import { AnchorHandler } from "./AnchorHandler.js"; import { HtmlRR0Context } from "RR0Context.js"; import { AllDataService, RR0Data } from "@rr0/data"; export declare class DataAnchorHandler implements AnchorHandler { protected dataService: AllDataService; /** * Source counter in the page. */ protected number: number; constructor(dataService: AllDataService); handle(context: HtmlRR0Context, linkEl: HTMLAnchorElement, pathToSearch: string): Promise<void>; protected handleNote(context: HtmlRR0Context, linkEl: HTMLAnchorElement, note: string): void; protected handleApi(context: HtmlRR0Context, data: RR0Data, linkEl: HTMLAnchorElement): void; protected handleProduct(context: HtmlRR0Context, data: RR0Data, linkEl: HTMLAnchorElement): void; protected handleOrg(context: HtmlRR0Context, data: RR0Data, linkEl: HTMLAnchorElement): void; }