MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _inheritStyles

Function _inheritStyles

packages/core/ui/core/view-base/index.ts:979–983  ·  view source on GitHub ↗
(view: ViewBase)

Source from the content-addressed store, hash-verified

977 }
978
979 public _inheritStyles(view: ViewBase): void {
980 propagateInheritableProperties(this, view);
981 view._inheritStyleScope(this._styleScope);
982 propagateInheritableCssProperties(this.style, view.style);
983 }
984
985 @profile
986 public _addView(view: ViewBase, atIndex?: number) {

Callers

nothing calls this directly

Tested by

no test coverage detected