Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct component communication example #145

Open
ceremcem opened this issue Mar 14, 2018 · 0 comments
Open

Direct component communication example #145

ceremcem opened this issue Mar 14, 2018 · 0 comments

Comments

@ceremcem
Copy link
Contributor

ceremcem commented Mar 14, 2018

Note to myself: Add the direct component communication examples:

Summary

To trigger incrementBy event inside myWidgetID instance with argument 5:

<namespace>
  <button on-click="['>>>myWidgetID', 'incrementBy', 5]">
    trigger the "incrementBy" event with argument "5" inside "myWidgetID" instance!
  </button>
  <widget wid="myWidgetID" />
</namespace>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant