Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

on-tap broken in FF #11

Closed
jakemac53 opened this issue Jan 12, 2015 · 3 comments
Closed

on-tap broken in FF #11

jakemac53 opened this issue Jan 12, 2015 · 3 comments

Comments

@jakemac53
Copy link
Contributor

<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sample app</title>
    <link rel="import" href="packages/polymer/polymer.html">
  </head>
  <body unresolved>

    <polymer-element name="x-a" on-tap="{{printTap}}">
      <template>
        <p>XA!</p>
      </template>
    </polymer-element>

    <x-a></x-a>

    <script type="application/dart">
      import 'dart:html';
      import 'dart:js';
      import 'package:polymer/polymer.dart';
      export 'package:polymer/init.dart';

      @CustomTag('x-a')
      class XA extends PolymerElement {
        XA.created() : super.created();

        printTap() {
          print('tapped');
        }
      }
    </script>

  </body>
</html>
@jakemac53
Copy link
Contributor Author

original report dart-archive/paper-elements#80

@jakemac53
Copy link
Contributor Author

Looks like this is related to Polymer/polymer#941, we probably just need to cherry pick that fix.

@jakemac53
Copy link
Contributor Author

this is fixed in 0.15.5 which was just released

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant