MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / _onCssStateChange

Function _onCssStateChange

packages/core/ui/core/view-base/index.ts:1462–1469  ·  view source on GitHub ↗

* @private * Notifies each child's css state for change, recursively. * Either the style scope, className or id properties were changed.

()

Source from the content-addressed store, hash-verified

1460 * Either the style scope, className or id properties were changed.
1461 */
1462 _onCssStateChange(): void {
1463 this._cssState.onChange();
1464 eachDescendant(this, (child: ViewBase) => {
1465 child._cssState.onChange();
1466
1467 return true;
1468 });
1469 }
1470
1471 _inheritStyleScope(styleScope: StyleScope): void {
1472 // If we are styleScope don't inherit parent stylescope.

Callers

nothing calls this directly

Calls 2

eachDescendantFunction · 0.85
onChangeMethod · 0.80

Tested by

no test coverage detected