ice.fo.utils
Version:
20 lines (14 loc) • 437 B
TypeScript
declare module "ice.fo.utils/AnchorUtils" {
/**
* Generate anchor ID for Element to scroll to.
*/
export function makeAnchorId(text: string): string;
/**
* Check whether the string is a generated anchor id.
*/
export function checkIsAnchor(text: string): string;
/**
* Return HTML Element of target anchor id.
*/
export function findTargetAnchorElement(text: string): HTMLElement | null;
}