banira
    Preparing search index...

    Function defineComponent

    • Defines ctor as tagName in registry (the global registry by default), skipping the define if the name is already taken in that registry — the collision that scoped registries exist to avoid. Returns the registry used.

      Parameters

      • tagName: string
      • ctor: CustomElementConstructor
      • options: {
            definitionOptions?: ElementDefinitionOptions;
            registry?: RegistryLike;
            scope?: RegistryScope;
        } = {}

      Returns RegistryLike