@ng-doc/core
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
28 lines (27 loc) • 569 B
TypeScript
export interface NgDocPageAnchor {
/**
* Real anchor value that was bound to the element id
*/
anchorId: string;
/**
* Anchor value that can be used by user for keywords
*/
anchor: string;
/**
* Title of the anchor
*/
title: string;
/**
* Type of the anchor
*/
type: NgDocPageAnchorType;
/**
* Scope of the anchor
*/
scope?: NgDocScopedKeyword;
}
export interface NgDocScopedKeyword {
key: string;
title: string;
}
export type NgDocPageAnchorType = 'heading' | 'member';