KPI ยท console.warn
"{name}" is not a KPI event; expected one of {list}.
Printed by KPI, prefixed [lattice], since 1.35.0.
Warnings reference › kpi:event:*
- Identifier
kpi:event:*- Raised by
- KPI
- Since
- 1.35.0
What happened
kpi.on() was called with an event name the panel never emits, so the handler will never be called. The subscription is still made; this reports the typo rather than refusing it.
The fix
Use one of the names listed in the message.
The smallest fix
kpi.on('tile:click', ({ id }) => drillInto(id));
Reference
Covered in full at the API reference.