UNPKG

signal-template-forms

Version:

A powerful, type-safe Angular forms library built with signals, providing reactive form management with excellent developer experience and performance.

16 lines (15 loc) 1.13 kB
import { type WordCountStats } from '../../../services/word-count.service'; import * as i0 from "@angular/core"; export declare class WordCountComponent { /** The text to count words for */ text: import("@angular/core").InputSignal<string | null | undefined>; /** Display format for the word count */ format: import("@angular/core").InputSignal<"words" | "characters" | "both" | "detailed">; /** Whether to show compact styling */ compact: import("@angular/core").InputSignal<boolean>; protected readonly stats: import("@angular/core").Signal<WordCountStats>; protected readonly formattedCount: import("@angular/core").Signal<string>; private readonly wordCountService; static ɵfac: i0.ɵɵFactoryDeclaration<WordCountComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<WordCountComponent, "signal-form-word-count", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; }