Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ functions
Functions
15,399 in github.com/NativeScript/NativeScript
⨍
Functions
15,399
◇
Types & classes
196,964
↓ 19 callers
Method
setColor
(navBar: UINavigationBar, color?: Color)
packages/core/ui/action-bar/index.ios.ts:377
↓ 18 callers
Function
addWeakEventListener
(source: Observable, eventName: string, handler: (eventData: EventData) => void, target: any)
packages/core/ui/core/weak-event-listener/index.ts:81
↓ 18 callers
Function
assert
(index, count)
apps/automated/src/ui/text-field/text-field-tests.ts:751
↓ 18 callers
Method
callback
()
packages/core/accessibility/accessibility-common.ts:90
↓ 18 callers
Function
fetch
(input, init)
packages/core/fetch/index.mjs:457
↓ 18 callers
Method
getHeight
(android.view.View view)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/ViewHelper.java:84
↓ 18 callers
Method
getNativeViewCount
(listView: ListView)
apps/automated/src/ui/list-view/list-view-tests.ts:930
↓ 18 callers
Method
getRowIndex
(view: View)
packages/core/ui/layouts/grid-layout/index.ios.ts:53
↓ 18 callers
Method
layout_insets_top_action_bar_test
(layout: view.View)
apps/automated/src/ui/layouts/safe-area-tests.ts:72
↓ 18 callers
Method
on
(eventNames: string, callback: (data: EventData) => void, thisArg?: any)
packages/core/ui/tab-view/tab-view-common.ts:220
↓ 18 callers
Method
putInset
(int offset, int value)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/LayoutBase.java:240
↓ 18 callers
Method
read
* Reads a binary content from a file with a given path. * @param path The path to the source file. * @param onError (optional) A callback function
packages/core/file-system/file-system-access.d.ts:233
↓ 18 callers
Method
set
Sets the value at {@code index} to {@code value}.
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/image/DiskLruCache.java:831
↓ 17 callers
Method
addNotificationObserver
(notificationName: string, onReceiveCallback: (notification: NSNotification) => void)
packages/core/application/application.ios.ts:514
↓ 17 callers
Method
addObject
(object: MDLObject)
packages/types-ios/src/lib/ios/objc-x86_64/objc!ModelIO.d.ts:1889
↓ 17 callers
Function
getGraphVersion
()
packages/vite/hmr/client/utils.ts:126
↓ 17 callers
Method
getGridLayoutColumnActualLength
(view: GridLayout, index: number)
apps/automated/src/ui/layouts/grid-layout-tests.ts:376
↓ 17 callers
Method
getValue
(key: string)
packages/devtools/src/providers/keyValueProvider.ts:6
↓ 17 callers
Method
onError
(String error, Object tag)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/Async.java:74
↓ 17 callers
Function
position
(p)
packages/core/js-libs/easysax/easysax.js:487
↓ 17 callers
Method
readTextSync
* Reads a text from a file with a given path. * @param path The path to the source file. * @param onError (optional) A callback function to use if
packages/core/file-system/file-system-access.d.ts:225
↓ 17 callers
Method
setPadding
(int left, int top, int right, int bottom)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/LayoutBase.java:220
↓ 17 callers
Function
time
()
apps/automated/src/tk-unit.ts:31
↓ 16 callers
Function
_evaluateCssCalcExpression
(value: string)
packages/core/ui/core/properties/index.ts:119
↓ 16 callers
Function
_executeCallback
(observer: GesturesObserver, args: GestureEventData)
packages/core/ui/gestures/index.android.ts:442
↓ 16 callers
Method
addCss
(cssString: string, cssFileName?: string)
packages/core/ui/styling/style-scope.ts:851
↓ 16 callers
Method
eachChild
(callback: (child: ViewBase) => boolean)
packages/core/ui/tab-view/tab-view-common.ts:174
↓ 16 callers
Function
getEntryDirPath
()
packages/webpack5/src/helpers/platform.ts:125
↓ 16 callers
Function
getNativeText
(textField: textFieldModule.TextField)
apps/automated/src/ui/text-field/text-field-tests-native.ios.ts:6
↓ 16 callers
Method
getRowIndex
()
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/GridLayout.java:493
↓ 16 callers
Function
getTransforms
(declarations)
apps/automated/src/ui/animation/css-animation-tests.ts:694
↓ 16 callers
Function
isAboveWith
(view1: View, view2: View, distance: number, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:119
↓ 16 callers
Function
isLeftWith
(view1: View, view2: View, distance: number, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:115
↓ 16 callers
Method
isValid
(value: any)
packages/core/color/color-common.ts:132
↓ 16 callers
Method
load
* Loads component from module with context * @param moduleName the module name * @param exports the context of the component to be loaded
packages/core/ui/builder/index.ts:124
↓ 16 callers
Method
onComplete
(Object result, Object tag)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/Async.java:72
↓ 16 callers
Function
property_binding_test
(propName: string, firstValue: any, secondValue: any, view?: View)
apps/automated/src/ui/view/view-tests-common.ts:711
↓ 15 callers
Function
_createListPicker
()
apps/automated/src/ui/list-picker/list-picker-tests.ts:10
↓ 15 callers
Function
assertInState
(view: view.View, state: string, knownStates: string[])
apps/automated/src/ui/styling/visual-state-tests.ts:7
↓ 15 callers
Function
buildUIAndRunTest
(controlToTest: T, testFunction: (views: [T, Page]) => void, options?: PageOptions)
apps/automated/src/ui-helper.ts:74
↓ 15 callers
Method
close
* Ability to remove any view instance from composite views. * Optional animation parameter to overwrite close animation declared when opening popup.
packages/core/ui/layouts/root-layout/root-layout-common.ts:123
↓ 15 callers
Function
comments
* Parse comments;
packages/core/css/lib/parse/index.ts:151
↓ 15 callers
Function
createRequire
(filename: string)
packages/vite/polyfills/module.ts:7
↓ 15 callers
Function
findMatchTemplate
(candidates: Array<string>, context: PlatformContext, expected: string)
apps/automated/src/name-resolvers-tests/qualifier-matcher-tests.ts:130
↓ 15 callers
Method
get
* Gets the value of the specified property.
packages/core/data/observable/index.ts:119
↓ 15 callers
Function
isRightWith
(view1: View, view2: View, distance: number, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:123
↓ 15 callers
Function
matchQuery
(mediaQuery: string, values: MediaQueryEnvironmentParams)
packages/core/css-mediaquery/index.ts:50
↓ 15 callers
Function
profile
(nameFnOrTarget?: string | Function | Object, fnOrKey?: Function | string | symbol, descriptor?: PropertyDescr
packages/core/profiling/index.ts:246
↓ 15 callers
Method
query
(node: Node)
packages/core/ui/styling/style-scope.ts:988
↓ 15 callers
Method
remove
Drops the entry for {@code key} if it exists and can be removed. Entries actively being edited cannot be removed. @return true if an entry was remove
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/image/DiskLruCache.java:635
↓ 15 callers
Method
threadPoolExecutor
()
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/Async.java:53
↓ 15 callers
Function
toString
(type: GestureTypes)
packages/core/ui/gestures/gestures-common.ts:11
↓ 14 callers
Method
_checkAccess
()
packages/core/file-system/index.ts:691
↓ 14 callers
Function
_createSegmentedBar
()
apps/automated/src/ui/segmented-bar/segmented-bar-tests.ts:11
↓ 14 callers
Function
assert
(test: any, message?: string)
apps/automated/src/tk-unit.ts:154
↓ 14 callers
Function
assertIOSNativeTransformIsCorrect
(view: View)
apps/automated/src/ui/animation/animation-tests.ts:631
↓ 14 callers
Method
closeCallback
(args)
apps/toolbox/src/pages/a11y.ts:39
↓ 14 callers
Method
combineMeasuredStates
(curState: number, newState)
packages/core/ui/core/view/view-helper/view-helper-common.ts:157
↓ 14 callers
Method
disconnect
* Disconnects the gesture observer.
packages/core/ui/gestures/gestures-types.ts:15
↓ 14 callers
Method
eachLayoutChild
(callback: (child: View, isLast: boolean) => void)
packages/core/ui/layouts/layout-base-common.ts:138
↓ 14 callers
Function
ensureVersionedCoreImports
(code: string, origin: string, ver: number)
packages/vite/hmr/server/websocket.ts:590
↓ 14 callers
Method
fromFileSync
(path: string)
packages/core/image-source/index.ios.ts:139
↓ 14 callers
Method
getDesiredHeight
(View view)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/CommonLayoutParams.java:94
↓ 14 callers
Method
getDesiredWidth
(View view)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/CommonLayoutParams.java:89
↓ 14 callers
Method
initSuite
()
apps/ui/e2e/helpers/navigation-helper.ts:33
↓ 14 callers
Method
isSet
(instance: T)
packages/core/ui/core/properties/index.ts:350
↓ 14 callers
Function
isString
(value)
packages/core/ui/dialogs/index.android.ts:11
↓ 14 callers
Function
makeMeasureSpec
(size: number, mode: number)
packages/core/utils/layout-helper/index.ios.ts:31
↓ 14 callers
Method
on
* Adds a listener for the specified event name. * * @param eventName The name of the event. * @param callback The event listener to add. Will be
packages/core/data/observable-array/index.ts:436
↓ 14 callers
Method
onPostExecute
(final byte[] result)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/Async.java:1015
↓ 14 callers
Method
reduce
* Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is
packages/core/data/observable-array/index.ts:409
↓ 14 callers
Function
setup
(parent?: LayoutBase)
apps/ui/src/perf/properties/tests.ts:285
↓ 14 callers
Method
time
(reportName?: string)
packages/core/console/index.ts:5
↓ 14 callers
Method
unshift
* Inserts new elements at the start of an array. * @param items Elements to insert at the start of the Array.
packages/core/data/observable-array/index.ts:299
↓ 13 callers
Method
addRow
(ItemSpec itemSpec)
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/GridLayout.java:63
↓ 13 callers
Function
assertNativeChildren
(layout: LayoutBase, arr: Array<string>)
apps/automated/src/ui/proxy-view-container/proxy-view-container-tests.ts:320
↓ 13 callers
Function
check
(exp: boolean, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:67
↓ 13 callers
Function
cssTreeParse
(css, source)
packages/core/css/css-tree-parser.ts:130
↓ 13 callers
Function
ensureNativeScriptModuleBindings
(code: string)
packages/vite/hmr/server/websocket.ts:139
↓ 13 callers
Method
every
* Determines whether all the members of an array satisfy the specified test. * @param callbackfn A function that accepts up to three arguments. The
packages/core/data/observable-array/index.ts:362
↓ 13 callers
Function
executeTest
(func: Function)
apps/ui/src/perf/properties/tests.ts:304
↓ 13 callers
Method
getDuration
()
packages/core/ui/transition/index.ios.ts:18
↓ 13 callers
Method
getFolder
* Gets the folder of a file with a given path. * @param path Path to the file. * @param onError A callback function to use if any error occurs.
packages/core/file-system/file-system-access.d.ts:114
↓ 13 callers
Function
getNativeSecure
(textField: textFieldModule.TextField)
apps/automated/src/ui/text-field/text-field-tests-native.ios.ts:14
↓ 13 callers
Method
getParent
* Gets the parent folder of a file with a given path. * @param path Path to the file. * @param onError A callback function to use if any error occ
packages/core/file-system/file-system-access.d.ts:98
↓ 13 callers
Function
getProjectRootPath
()
packages/vite/helpers/project.ts:6
↓ 13 callers
Function
getStack
(stack: StackLayout)
apps/ui/src/perf/properties/main-page.ts:9
↓ 13 callers
Function
isAbove
(view1: View, view2: View, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:103
↓ 13 callers
Function
isFunction
(value: any)
packages/core/utils/types.ts:13
↓ 13 callers
Function
position
* Mark position and patch `node.position`.
packages/core/css/lib/parse/index.ts:30
↓ 13 callers
Method
refresh
()
packages/core/ui/list-view/index.d.ts:286
↓ 13 callers
Method
removeChild
(child: View)
packages/core/ui/layouts/layout-base.ios.ts:22
↓ 13 callers
Method
removeChildren
()
packages/core/ui/layouts/layout-base-common.ts:73
↓ 13 callers
Function
resolveModuleName
(path: string, ext: string)
packages/core/module-name-resolver/index.ts:55
↓ 13 callers
Method
shift
* Removes the first element from an array and returns it.
packages/core/data/observable-array/index.ts:229
↓ 13 callers
Method
toJSON
()
packages/core/ui/layouts/grid-layout/index.android.ts:42
↓ 13 callers
Method
toRgbString
()
packages/core/color/color-types.ts:24
↓ 13 callers
Function
trapDuration
(action: () => void)
packages/core/css/parser.spec.ts:369
↓ 12 callers
Method
_tearDownUI
(force?: boolean)
packages/core/ui/proxy-view-container/index.ts:87
↓ 12 callers
Method
addItem
(item: ActionItemDefinition)
packages/core/ui/action-bar/action-bar-common.ts:198
← previous
next →
201–300 of 15,399, ranked by callers