mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
search and replace (#924)
This commit is contained in:
committed by
Paulus Schoutsen
parent
1a18ee2755
commit
8b719778d0
@@ -85,7 +85,7 @@
|
||||
<div class="chartZoomInline">
|
||||
<paper-icon-button
|
||||
icon='mdi:arrow-expand-all'
|
||||
on-tap='resetZoom'
|
||||
on-click='resetZoom'
|
||||
></paper-icon-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
</style>
|
||||
|
||||
<template is='dom-if' if='[[stateObj.attributes.assumed_state]]'>
|
||||
<paper-icon-button icon="mdi:flash-off" on-tap="turnOff" state-active$='[[!isOn]]'></paper-icon-button>
|
||||
<paper-icon-button icon="mdi:flash" on-tap="turnOn" state-active$='[[isOn]]'></paper-icon-button>
|
||||
<paper-icon-button icon="mdi:flash-off" on-click="turnOff" state-active$='[[!isOn]]'></paper-icon-button>
|
||||
<paper-icon-button icon="mdi:flash" on-click="turnOn" state-active$='[[isOn]]'></paper-icon-button>
|
||||
</template>
|
||||
<template is='dom-if' if='[[!stateObj.attributes.assumed_state]]'>
|
||||
<paper-toggle-button
|
||||
@@ -62,7 +62,7 @@ class HaEntityToggle extends Polymer.Element {
|
||||
|
||||
ready() {
|
||||
super.ready();
|
||||
this.addEventListener('tap', ev => this.onTap(ev));
|
||||
this.addEventListener('click', ev => this.onTap(ev));
|
||||
this.forceStateChange();
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ class HaStateLabelBadge extends
|
||||
|
||||
ready() {
|
||||
super.ready();
|
||||
this.addEventListener('tap', ev => this.badgeTap(ev));
|
||||
this.addEventListener('click', ev => this.badgeTap(ev));
|
||||
}
|
||||
|
||||
badgeTap(ev) {
|
||||
|
||||
Reference in New Issue
Block a user