MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getParentAttributeOwner

Method getParentAttributeOwner

valdi/src/valdi/runtime/Context/ViewNodeTree.cpp:683–688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681 _onLayoutCallbacks.emplace_back(callback);
682 schedulePerformUpdates();
683}
684
685void ViewNodeTree::onNextDraw(const Ref<ValueFunction>& callback) {
686 _onDrawCallbacks.emplace_back(callback);
687 schedulePerformUpdates();
688}
689
690void ViewNodeTree::flushOnLayoutCallbacks() {
691 if (_onLayoutCallbacks.empty()) {

Callers 1

visitMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected