You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google-analytics-view-selector.html
+33-1Lines changed: 33 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
<polymer-element
28
28
name="google-analytics-view-selector"
29
29
extends="google-analytics-base"
30
-
attributes="ids">
30
+
attributes="accounts properties views ids">
31
31
32
32
<template>
33
33
<style>
@@ -91,6 +91,38 @@
91
91
* @type string
92
92
*/
93
93
94
+
/**
95
+
* The `accounts` attribute contains an array of accounts this user has
96
+
* access to. Each account contains the properties within that account
97
+
* and each property contains the views within that property.
98
+
* Once this value is initially set, it does not change regardless of
99
+
* what account the user has selected.
100
+
*
101
+
* See the <a href="https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtAccountSummariesGuide">Management API's accountSummaries methods</a> for more details.
102
+
*
103
+
* @attribute accounts
104
+
* @type Array
105
+
*/
106
+
107
+
/**
108
+
* The `properties` attribute contains the properties for the currently
109
+
* selected account. Each property contains the views within that
110
+
* property. This value changes when the user selects a different
111
+
* account.
112
+
*
113
+
* @attribute properties
114
+
* @type Array
115
+
*/
116
+
117
+
/**
118
+
* The `views` attribute contains the views for the currently
119
+
* selected property. This value changes when the user selects a
0 commit comments