Skip to content

Component missing instance(): V6.0.21 #3905

@thebestgin

Description

@thebestgin

Hello,

the following don't work in svelte-component Messages.

<Messages bind:this={component}>...</Messages>

<script>
  let component;

  // to get instance in some method
  component.instance()
</script>

Uncaught TypeError: component.instance is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions