Use one-way binding in loading indicator for gr-change-view
Also hide the changes via the hidden attribute upon initial load. The evaluation of hidden$= will set it correctly. Change-Id: I7d3207c622e03988da2c3020a2c698811b299f9a
This commit is contained in:
parent
c05ef8a2a6
commit
1de642461b
@ -56,8 +56,8 @@ limitations under the License.
|
||||
params="[[_computeQueryParams(query, offset)]]"
|
||||
last-response="{{_changes}}"
|
||||
loading="{{_loading}}"></gr-ajax>
|
||||
<div class="loading" hidden$="{{!_loading}}">Loading...</div>
|
||||
<div hidden$="{{_loading}}">
|
||||
<div class="loading" hidden$="[[!_loading]]">Loading...</div>
|
||||
<div hidden$="[[_loading]]" hidden>
|
||||
<gr-change-list changes="{{_changes}}"></gr-change-list>
|
||||
<nav>
|
||||
<a href$="[[_computeNavLink(query, offset, -1)]]"
|
||||
|
Loading…
Reference in New Issue
Block a user