@osaedasia/oresume
Version:
A user-friendly library for generating complete Single Page Applications (SPAs)
21 lines (20 loc) • 744 B
TypeScript
import { Pattern } from "../definitions/types/Pattern";
/**
* Represents a parsed HTML string along with its detected patterns.
* Used as an intermediate format for HTML template processing and pattern management.
*/
export declare class ParsedHtml {
/**
* The processed HTML content with pattern placeholders.
*/
readonly html: string;
/**
* Collection of detected patterns that can be used for event bindings or reactive updates.
*/
readonly patterns: Pattern[];
/**
* @param {string} pHtml The processed HTML content with pattern placeholders.
* @param {Pattern[]} pPatterns Collection of detected patterns within the HTML.
*/
constructor(pHtml: string, pPatterns: Pattern[]);
}