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

Side by Side Diff: lib/src/google-analytics/google-analytics-query.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="../polymer/polymer.html"> 1 <link rel="import" href="../polymer/polymer.html">
2 <link rel="import" href="google-analytics-loader.html"> 2 <link rel="import" href="google-analytics-loader.html">
3 3
4 <!-- 4 <!--
5 Element for querying the Google Analytics Core Reporting API. 5 Element for querying the Google Analytics Core Reporting API.
6 6
7 ##### Example 7 ##### Example
8 8
9 <google-analytics-query 9 <google-analytics-query
10 ids="ga:1174" 10 ids="ga:1174"
11 metrics="ga:sessions" 11 metrics="ga:sessions"
12 dimensions="ga:country" 12 dimensions="ga:country"
13 sort="-ga:sessions" 13 sort="-ga:sessions"
14 max-results="5"> 14 max-results="5">
15 </google-analytics-query> 15 </google-analytics-query>
16 16
17 @element google-analytics-query 17 @element google-analytics-query
18 @extends google-analytics-base 18 @demo
19 @homepage https://googlewebcomponents.github.io/google-analytics 19 @homepage https://googlewebcomponents.github.io/google-analytics
20 --> 20 -->
21 21
22 <dom-module id="google-analytics-query"> 22 <dom-module id="google-analytics-query">
23 23
24 <template> 24 <template>
25 <google-analytics-loader all-ready="{{setupReady}}"></google-analytics-loade r> 25 <google-analytics-loader all-ready="{{setupReady}}"></google-analytics-loade r>
26 </template> 26 </template>
27 27
28 </dom-module> 28 </dom-module>
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 get _hasRequiredParams() { 380 get _hasRequiredParams() {
381 return !!(this.ids && this.metrics && this.startDate && this.endDate); 381 return !!(this.ids && this.metrics && this.startDate && this.endDate);
382 }, 382 },
383 383
384 }); 384 });
385 385
386 }()); 386 }());
387 387
388 </script> 388 </script>
OLDNEW
« no previous file with comments | « lib/src/ga-api-utils/build/ga-api-utils.js ('k') | lib/src/google-apis/google-client-loader.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698