@taiga-ui/addon-doc
Version:
Taiga UI based library for developing documentation portals for Angular libraries.
20 lines (19 loc) • 1.1 kB
TypeScript
import type { TuiRawLoaderContent } from '@taiga-ui/addon-doc/types';
import type { TuiHandler } from '@taiga-ui/cdk/types';
import { Subject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class TuiDocCode {
private readonly icons;
private readonly rawLoader$$;
protected readonly isServer: boolean;
protected readonly markdownCodeProcessor: TuiHandler<string, readonly string[]>;
protected readonly copy$: Subject<void>;
protected readonly copyText: import("@angular/core").Signal<string | undefined>;
protected readonly icon: import("@angular/core").Signal<string>;
protected readonly processor: import("@angular/core").Signal<never[] | readonly string[]>;
filename: string;
set code(code: TuiRawLoaderContent);
get hasFilename(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocCode, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocCode, "tui-doc-code", never, { "filename": { "alias": "filename"; "required": false; }; "code": { "alias": "code"; "required": false; }; }, {}, never, ["*"], true, never>;
}