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

Method getAccessibilityId

valdi/src/valdi/runtime/Context/ViewNode.cpp:3404–3410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3402}
3403
3404void ViewNode::setOnViewChangedCallback(Ref<ValueFunction> onViewChangedCallback) {
3405 _onViewChangedCallback = std::move(onViewChangedCallback);
3406
3407 if (hasView()) {
3408 callViewChangedIfNeeded();
3409 }
3410}
3411
3412void ViewNode::setOnLayoutCompletedCallback(Ref<ValueFunction> onLayoutCompletedCallback) {
3413 _onLayoutCompletedCallback = std::move(onLayoutCompletedCallback);

Callers 2

writeViewNodeMethod · 0.45
toDebugStringMethod · 0.45

Calls 1

StringBoxClass · 0.50

Tested by

no test coverage detected