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

Method actionBar

packages/core/ui/page/page-common.ts:42–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 get actionBar(): ActionBar {
43 if (!this._actionBar) {
44 this.hasActionBar = true;
45 this._actionBar = new ActionBar();
46 this._addView(this._actionBar);
47 }
48
49 return this._actionBar;
50 }
51 set actionBar(value: ActionBar) {
52 if (!value) {
53 throw new Error('ActionBar cannot be null or undefined.');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected