schema-components - v3.7.0
    Preparing search index...

    Function createDefaultLitResolver

    • Build the default Lit resolver for the supplied RegistrationResult.

      Each render function emits a Lit html template whose body is a dynamically-created <sc-*> element with every field prop assigned. The change callback is forwarded directly so user input on a leaf renderer reaches the orchestrator without going through a Custom Event boundary on the fast path.

      When no registration is supplied, the resolver emits the canonical sc-* tags. Useful in tests where customElements.define may have been called separately and the consumer doesn't need a prefixed registration object.

      Parameters

      Returns LitComponentResolver