Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "material/html-head-element"

Index

Functions

appendHtmlElementToHead

  • appendHtmlElementToHead(host: Tree, htmlFilePath: string, elementHtml: string): void
  • Appends the given element HTML fragment to the <head> element of the specified HTML file.

    Parameters

    • host: Tree
    • htmlFilePath: string
    • elementHtml: string

    Returns void

getHtmlHeadTagElement

  • getHtmlHeadTagElement(htmlContent: string): DefaultTreeElement | null
  • Parses the given HTML file and returns the head element if available.

    Parameters

    • htmlContent: string

    Returns DefaultTreeElement | null