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

Unified Diff: bower_components/polymer-ui-collapsible/polymer-ui-collapsible.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 12 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
Index: bower_components/polymer-ui-collapsible/polymer-ui-collapsible.html
diff --git a/bower_components/polymer-ui-collapsible/polymer-ui-collapsible.html b/bower_components/polymer-ui-collapsible/polymer-ui-collapsible.html
deleted file mode 100644
index c4e6112238ea1581480e70b22aaa1439818477be..0000000000000000000000000000000000000000
--- a/bower_components/polymer-ui-collapsible/polymer-ui-collapsible.html
+++ /dev/null
@@ -1,80 +0,0 @@
-<!--
-Copyright 2013 The Polymer Authors. All rights reserved.
-Use of this source code is governed by a BSD-style
-license that can be found in the LICENSE file.
--->
-<!--
-/**
- * @module Polymer UI Elements
- */
-/**
- * polymer-ui-collapsible has a header and a body and the body appears or
- * disappears based on "active" property. Tapping on the header will toggle
- * the active state. User needs to put the class "polymer-ui-collapsible-header"
- * on the element to indicate it represents a header.
- *
- * Example:
- *
- * <polymer-ui-collapsible>
- * <div class="polymer-ui-collapsible-header">Title</div>
- * <div>
- * some content...
- * </div>
- * </polymer-ui-collapsible>
- *
- * @class polymer-ui-collapsible
- */
--->
-<link rel="import" href="../polymer/polymer.html">
-<link rel="import" href="../polymer-collapse/polymer-collapse.html">
-
-<polymer-element name="polymer-ui-collapsible">
- <template>
- <link rel="stylesheet" href="polymer-ui-collapsible.css">
- <div on-tap="{{headerTap}}">
- <content select=".polymer-ui-collapsible-header"></content>
- </div>
- <div id="collapsibleBody" on-tap="{{bodyTap}}">
- <content></content>
- </div>
- <polymer-collapse targetId="collapsibleBody" closed="{{!active}}"></polymer-collapse>
- </template>
- <script>
- Polymer('polymer-ui-collapsible', {
- publish: {
- /**
- * If true, tapping on the header will not toggle the active state.
- *
- * @attribute notap
- * @type boolean
- * @default false
- */
- notap: false,
- /**
- * If true, the body is expanded.
- *
- * @attribute active
- * @type boolean
- * @default false
- */
- active: {value: false, reflect: true}
- },
- /**
- * Toggle the active state of the collapsible.
- *
- * @method toggle
- */
- toggle: function() {
- this.active = !this.active;
- },
- headerTap: function() {
- if (!this.notap) {
- this.toggle();
- }
- },
- bodyTap: function(e) {
- e.notap = true;
- }
- });
- </script>
-</polymer-element>
« no previous file with comments | « bower_components/polymer-ui-collapsible/polymer-ui-collapsible.css ('k') | bower_components/polymer/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698