gerrit/polygerrit-ui/app/template_test_srcs
Viktar Donich 2f3ee89d02 Plugin popup() api
Changes to JS API:
- popups have backdrop and is centered
- plugin.popup() takes a string custom element name
- plugin.popup() returns an API for closing and reopening the popup
- plugin.deprecated.popup() takes Element (similar to GWT Plugin JS API)

Recommended usage:

``` js
  Gerrit.install(function(plugin) {
    const popup = plugin.popup('my-plugin-popup-simple');;
    // ... work
    popup.close();
    // ... more work
    popup.open();
  });

```

``` html
<dom-module id="my-plugin-popup-simple">
  <template>
    <div>popup popup popup popup popup </div>
  </template>
  <script>
    Polymer({is: 'my-plugin-popup-simple'});
  </script>
</dom-module>
```

Change-Id: Icb3f83d35f3c60915f12b77bc8a7d548d50d5695
2017-09-06 14:51:09 -07:00
..
convert_for_template_tests.py Create separate bazel test target for each directory's template test 2017-08-15 13:21:45 -07:00
template_test.js Plugin popup() api 2017-09-06 14:51:09 -07:00