Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: sky/tests/resources/test-element.sky

Issue 845283003: Allow on-* event handlers on <sky-element>. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: s p a c i n g Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tests/framework/templates-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/resources/test-element.sky
diff --git a/sky/tests/resources/test-element.sky b/sky/tests/resources/test-element.sky
index 33112943942ff90c42d3d2f9d549c6117cbcb360..5c48950b7f16fda92a4f097de6b1ab303333d4ca 100644
--- a/sky/tests/resources/test-element.sky
+++ b/sky/tests/resources/test-element.sky
@@ -5,7 +5,10 @@
-->
<import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" />
-<sky-element name="test-element" attributes="size:number, checked:boolean,name:string">
+<sky-element
+ name="test-element"
+ attributes="size:number, checked:boolean,name:string"
+ on-host-event="handleEvent">
<template>
<div id="inside" on-test-event="handleEvent" lang="{{ value }}">{{ value }}</div>
</template>
« no previous file with comments | « sky/tests/framework/templates-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698