blob: 9fc3c8971770e69df69942397cbdf81e34c3c28d [file] [log] [blame]
<!doctype html>
<!--
Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
for details. All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
-->
<html>
<head>
<!--polymer-test: this comment is needed for test_suite.dart-->
<title>custom events</title>
<script src="packages/web_components/platform.js"></script>
<script src="packages/web_components/dart_support.js"></script>
<link rel="import" href="packages/polymer/polymer.html">
<script src="/root_dart/tools/testing/dart/test_controller.js"></script>
</head>
<body>
<polymer-element name="foo-bar">
<template></template>
</polymer-element>
<polymer-element name="test-custom-event">
<template>
<foo-bar on-foo="{{fooHandler}}" on-barbaz="{{barBazHandler}}"></foo-bar>
</template>
</polymer-element>
<test-custom-event></test-custom-event>
<script type="application/dart" src="custom_event_test.dart"></script>
</body>
</html>