ng-matero
Version:
Angular Material admin template
7 lines (6 loc) • 483 B
TypeScript
import { Tree } from '@angular-devkit/schematics';
import { Element } from '@angular/cdk/schematics';
/** Appends the given element HTML fragment to the `<head>` element of the specified HTML file. */
export declare function appendHtmlElement(host: Tree, htmlFilePath: string, elementHtml: string, tag: string): void;
/** Parses the given HTML file and returns the element if available. */
export declare function getHtmlTagElement(htmlContent: string, tag: string): Element | null;