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

Function _createButtonFunc

apps/automated/src/ui/button/button-tests.ts:72–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70// };
71
72var _createButtonFunc = function (): Button {
73 // >>button-create
74 var button = new Button();
75 // << button-create
76 button.text = 'Button';
77
78 return button;
79};
80
81var _testSetText = function (views: Array<View>) {
82 var button = <Button>views[0];

Callers 15

testSetTextFunction · 0.85
testOnClickFunction · 0.85
testLocalFontSizeFromCssFunction · 0.85
testLocalColorFromCssFunction · 0.85
testNativeColorFromCssFunction · 0.85
testNativeColorFromLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected