-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Description
It would be really convenient if view partials also support event emitters:
<!--
@param {Function} onClick - Custom on-click handler
-->
<some-view:>
<div>
<button on-click="@onClick()">Click</button>
</div>
<usage:>
<view is="some-view" on-click="onSomeViewClick()"/>
Currently, we need the extra overhead of creating a component for this to be possible.
Metadata
Metadata
Assignees
Labels
No labels