@suluk/nano-stores - v0.1.3
    Preparing search index...

    Interface FieldLike

    Form-error feedback primitives (saastarter parity: "invalid fields ring red + shake", "errors clear as you type"). Framework-agnostic — they toggle the SEMANTIC contract (aria-invalid + the .shake class); the LOOK is @suluk/theme base CSS ([aria-invalid] destructive ring + @keyframes shake). So a hand-written form gets accessible, animated validation feedback without a component framework.

    interface FieldLike {
        setAttribute(name: string, value: string): void;
        removeAttribute(name: string): void;
        classList?: { add(c: string): void; remove(c: string): void };
    }
    Index

    Properties

    classList?: { add(c: string): void; remove(c: string): void }

    Methods