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

    Function resolveLitWidget

    • Resolve a widget hint to a Custom Element tag name, considering instance widgets first and falling back to the global registry.

      Parameters

      • name: string

        Widget hint name from .meta({ component }).

      • OptionalinstanceWidgets: ReadonlyMap<string, string>

        Optional instance-scoped overrides.

      Returns string | undefined

      The Custom Element tag, or undefined when no widget is registered under name at either scope.