@osaedasia/oresume
Version:
A user-friendly library for generating complete Single Page Applications (SPAs)
20 lines (19 loc) • 821 B
TypeScript
import { APatternService } from "./APatternService";
import { ObserverPattern, PatternType } from "../../../domain/definitions/types/Pattern";
/**
* Service that handles observer pattern implementations in HTML templates.
* Processes Observable instances and manages their state updates in the DOM.
* @extends APatternService
*/
export declare class ObserverPatternService extends APatternService {
/** @inheritDoc */
type: PatternType;
/** @inheritDoc */
getAttributeValueRegex(): RegExp;
/** @inheritDoc */
createPatternObject(index: number, value: unknown): ObserverPattern | null;
/** @inheritDoc */
handleAttributeMatch(_: RegExpMatchArray, pattern: ObserverPattern): string;
/** @inheritDoc */
handleContentMatch(_: RegExpMatchArray, pattern: ObserverPattern): string;
}