Open johannesh2 opened 6 years ago
Internal: related conversation on Flow.
Component-level API for customizing DOM event registrations has been implemented in Flow. This should allow code like
ComponentUtil.addListener(chart, MyEvent.class,
this::performAction, r -> r.debounce(interval));
Element#addEventListener
returns a DomListenerRegistration which has adebounce
method.Chart#addListener
should also allow to reduce chatter on axis extreme change events.