MCPcopy Create free account
hub / github.com/custom-cards/button-entity-row / _forwardHaptic

Method _forwardHaptic

button-entity-row.js:237–241  ·  view source on GitHub ↗
(hapticType)

Source from the content-addressed store, hash-verified

235 }
236
237 _forwardHaptic(hapticType) {
238 const event = new Event("haptic", { bubbles: true, cancelable: false, composed: true })
239 event.detail = hapticType
240 this.dispatchEvent(event)
241 }
242 _showEntityMoreInfo(entityId) {
243 const event = new Event("hass-more-info", { bubbles: true, cancelable: false, composed: true })
244 event.detail = { entityId }

Callers 1

_handleButtonClickMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected