ng-katex-2
Version:
Angular module to write beautiful math expressions with TeX syntax boosted by KaTeX library
13 lines (12 loc) • 696 B
TypeScript
import { InputSignal, OutputEmitterRef } from '@angular/core';
import { KatexOptions } from 'katex';
import * as i0 from "@angular/core";
export declare class KatexComponent {
equation: InputSignal<string>;
options: InputSignal<KatexOptions>;
onError: OutputEmitterRef<any>;
hasError(error: any): void;
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<KatexComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<KatexComponent, "ng-katex", never, { "equation": { "alias": "equation"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "onError": "onError"; }, never, never, true, never>;
}