Skip to content

How to register & dispatch a event聽#6653

Description

@zhaoyiming0803

馃悰 Bug Report

馃捇 Repro or Code Sample

馃 Expected Behavior

馃槸 Current Behavior

How can i register a custom event, and dispatch it in the my-tag

How to receive messages that trigger by $emit

<my-tag onChange="onChange"></my-tag>

馃拋 Possible Solution

馃敠 Context

馃實 Your Environment

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
  • Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
  • Version [e.g. 1.8.0]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions