@ginstone/nga-api
Version:
24 lines (23 loc) • 651 B
TypeScript
import { NgaPhpApi } from "../enums/NgaPhpApi";
import { NgaLinkTypeName } from "../enums/NgaLinkType";
export declare class Navigation {
links: DocLink[];
constructor(doc: HTMLHtmlElement);
/**
* 查找列表中最后一个指定类型的链接
* @param type 类型
*/
findLast(type: NgaLinkTypeName): DocLink | undefined;
}
export declare class DocLink {
title: string;
link: NgaLink;
constructor(a: HTMLAnchorElement);
}
export declare class NgaLink {
ngaPhpApi?: NgaPhpApi;
rawUrl?: string;
queryParam?: Map<String, String>;
type?: NgaLinkTypeName;
constructor(url: string | null);
}