MCPcopy Create free account
hub / github.com/FastLED/FastLED / onChanged

Method onChanged

src/fl/ui/dropdown.h:161–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 }
160
161 int onChanged(function<void(UIDropdown &)> callback) FL_NOEXCEPT {
162 int out = mCallbacks.add(callback);
163 mListener.addToEngineEventsOnce();
164 return out;
165 }
166 void clearCallbacks() FL_NOEXCEPT { mCallbacks.clear(); }
167
168 protected:

Callers

nothing calls this directly

Calls 2

addMethod · 0.45
addToEngineEventsOnceMethod · 0.45

Tested by

no test coverage detected