source: trip-planner-front/node_modules/@angular/cdk/schematics/utils/html-manipulation.d.ts@ bdd6491

Last change on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 803 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Tree } from '@angular-devkit/schematics';
9import { Element } from 'parse5';
10/** Appends the given element HTML fragment to the `<head>` element of the specified HTML file. */
11export declare function appendHtmlElementToHead(host: Tree, htmlFilePath: string, elementHtml: string): void;
12/** Parses the given HTML file and returns the head element if available. */
13export declare function getHtmlHeadTagElement(htmlContent: string): Element | null;
14/** Adds a class to the body of the document. */
15export declare function addBodyClass(host: Tree, htmlFilePath: string, className: string): void;
Note: See TracBrowser for help on using the repository browser.