Skip to content

Javascript events not collected in the events tab #21

Description

@eguiluz

Events emitted with javascript from blade views are not recorded in the events tab.

<script type="module">
    document.addEventListener('livewire:initialized', () => {
        Livewire.dispatch('eventNameHere', eventDataHere);
    });
</script>

The event eventNameHere (which is picked up in the component correctly with #[On('eventNameHere')] is not registered by wire-spy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    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