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
↓ 908 callers
Method
assert
(test: boolean, message?: string)
packages/core/console/index.ts:13
↓ 743 callers
Method
log
(message: any)
packages/core/console/index.ts:29
↓ 641 callers
Method
push
(request: DownloadRequest)
packages/core/ui/image-cache/image-cache-common.ts:49
↓ 554 callers
Method
get
* @deprecated Use deref instead with 8.5+
packages/core/global-types.d.ts:227
↓ 520 callers
Method
replace
(sender: any)
packages/types-ios/src/lib/ios/objc-x86_64/objc!BrowserEngineKit.d.ts:741
↓ 482 callers
Method
set
(object: any, src: Source)
packages/core/utils/debug-source.ts:70
↓ 359 callers
Method
addChild
(child: View)
packages/core/ui/layouts/layout-base.ios.ts:9
↓ 350 callers
Method
on
(eventNames: string, callback: (data: EventData) => void, thisArg?: any)
packages/core/ui/page/page-common.ts:169
↓ 344 callers
Method
write
(message: any, category: string, type?: number)
packages/core/trace/index.d.ts:5
↓ 337 callers
Method
test
()
apps/ui/src/button/issue-4385-page.ts:18
↓ 293 callers
Method
join
* Adds all the elements of an array separated by the specified separator string. * @param separator A string used to separate one element of an arra
packages/core/data/observable-array/index.ts:175
↓ 283 callers
Method
register
(cls: { prototype: T })
packages/core/ui/core/properties/index.ts:342
↓ 273 callers
Method
forEach
* Performs the specified action for each element in an array. * @param callbackfn A function that accepts up to three arguments. forEach calls the
packages/core/data/observable-array/index.ts:380
↓ 233 callers
Method
indexOf
* Returns the index of the first occurrence of a value in an array. * @param searchElement The value to locate in the array. * @param fromIndex Th
packages/core/data/observable-array/index.ts:344
↓ 220 callers
Method
parse
(args: xml.ParserEvent)
packages/core/ui/builder/index.ts:317
↓ 213 callers
Method
isEnabled
(position: number)
packages/core/ui/list-view/index.android.ts:964
↓ 213 callers
Function
width
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:26
↓ 202 callers
Function
height
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:22
↓ 199 callers
Method
bind
(source: any)
packages/core/ui/core/bindable/index.ts:190
↓ 193 callers
Method
add
* Creates a new pointer by adding an offset to the current pointer. * @param offset The offset in bytes.
packages/types-ios/src/lib/ios/interop.d.ts:20
↓ 172 callers
Method
includes
* Determines whether the specified element exists inside the array. * @param searchElement The value to locate in the array. * @param fromIndex Th
packages/core/data/observable-array/index.ts:335
↓ 171 callers
Method
slice
(start?: number, end?: number, type?: string)
packages/core/xhr/index.ts:445
↓ 159 callers
Method
navigate
(params: NavigateMethodArguments)
packages/core/debugger/InspectorBackendCommands.ts:1083
↓ 144 callers
Method
equals
(value: IColor)
packages/core/color/color-types.ts:14
↓ 143 callers
Method
notify
(eventData: T)
packages/core/application/application-common.ts:105
↓ 143 callers
Method
warn
(message: any)
packages/core/console/index.ts:21
↓ 142 callers
Function
registerColor
(name: string | string[], value: number)
packages/core/color/known-colors.ts:2
↓ 142 callers
Method
set
* Updates the specified property with the provided value.
packages/core/data/observable/index.ts:126
↓ 135 callers
Method
filter
* Returns the elements of an array that meet the condition specified in a callback function. * @param callbackfn A function that accepts up to three
packages/core/data/observable-array/index.ts:399
↓ 127 callers
Method
map
()
packages/types-ios/src/lib/ios/objc-x86_64/objc!ModelIO.d.ts:1434
↓ 124 callers
Method
topmost
()
packages/core/ui/frame/frame-common.ts:67
↓ 122 callers
Function
isTopAlignedWith
(view1: View, view2: View, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:87
↓ 117 callers
Method
getMeasuredHeight
()
packages/core/ui/core/view/index.android.ts:976
↓ 117 callers
Method
new
()
packages/core/ui/image-cache/index.ios.ts:8
↓ 115 callers
Function
resolve
(...args)
packages/webpack5/scripts/jest.setup.ts:58
↓ 114 callers
Function
isLeftAlignedWith
(view1: View, view2: View, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:79
↓ 113 callers
Method
getChildAt
(index: number)
packages/core/ui/styling/css-selector.ts:26
↓ 105 callers
Method
getMeasuredWidth
()
packages/core/ui/core/view/index.android.ts:968
↓ 104 callers
Method
off
(event: 'itemLoading', callback: (args: EventData) => void, thisArg?: any)
packages/core/ui/list-view/index.d.ts:288
↓ 99 callers
Function
equal
(a: T, b: T, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:43
↓ 95 callers
Method
resolve
(id: string)
packages/core/global-types.d.ts:220
↓ 93 callers
Function
registerTestModule
(name, loader: (name: string) => void)
apps/automated/src/ui/builder/builder-file-qualifiers-tests.ts:7
↓ 92 callers
Function
test
(ui: () => U, setup: (ui: U) => void, test: (ui: U) => void)
apps/automated/src/ui/layouts/flexbox-layout-tests.ts:83
↓ 91 callers
Method
match
(node: Node)
packages/core/ui/styling/css-selector.ts:261
↓ 80 callers
Method
waitUntilTestElementLayoutIsValid
(view: view.View, timeoutSec?: number)
apps/automated/src/ui/layouts/safe-area-tests.ts:15
↓ 79 callers
Method
error
(message: any)
packages/core/console/index.ts:25
↓ 76 callers
Function
closeEnough
(a: number, b: number, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:47
↓ 75 callers
Method
call
()
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/image/AsyncTask.java:312
↓ 75 callers
Function
onError
(error)
apps/automated/src/file-system-access-tests/file-system-access-tests.ts:12
↓ 71 callers
Function
setTimeout
(callback: Function, milliseconds = 0, ...args)
packages/core/timer/index.ios.ts:72
↓ 71 callers
Function
top
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:12
↓ 70 callers
Function
isRightOf
(view1: View, view2: View, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:107
↓ 69 callers
Function
left
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:9
↓ 69 callers
Method
size
Returns the number of bytes currently being used to store the values in this cache. This may be greater than the max size if a background deletion is
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/image/DiskLruCache.java:565
↓ 67 callers
Method
create
()
packages/core/debugger/index.ts:4
↓ 66 callers
Method
goBack
()
packages/core/ui/web-view/index.ios.ts:247
↓ 66 callers
Function
testSingleAnimation
(css: string)
packages/core/ui/styling/css-animation-parser.spec.ts:22
↓ 65 callers
Method
resolveSizeAndState
(size: number, specSize: number, specMode: number, childMeasuredState: number)
packages/core/ui/core/view/index.android.ts:1050
↓ 62 callers
Function
callback
()
packages/core/ui/gestures/gestures-common.ts:77
↓ 62 callers
Method
notifyPropertyChange
* Notifies all the registered listeners for the property change event.
packages/core/data/observable/index.ts:467
↓ 61 callers
Function
right
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:15
↓ 60 callers
Function
isBelow
(view1: View, view2: View, distance?: number, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:111
↓ 59 callers
Function
bottom
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:18
↓ 58 callers
Method
animate
(definition: AnimationDefinition | TouchAnimationFn)
packages/core/ui/gestures/touch-manager.ts:183
↓ 55 callers
Method
splice
* Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements. * This method uses 'in plac
packages/core/data/observable-array/index.ts:268
↓ 54 callers
Function
getNativeApp
()
packages/core/application/helpers-common.ts:44
↓ 52 callers
Method
delete
* @since 3.2
packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts:27255
↓ 52 callers
Method
executeSnippet
(ui: U, setup: (ui: U) => void, test: (ui: U) => void, pageOptions?: helper.PageOptions)
apps/automated/src/ui/layouts/safe-area-tests.ts:14
↓ 51 callers
Method
getResources
* Get application level static resources.
packages/core/application/application-common.ts:472
↓ 49 callers
Method
append
* Appends binary to a file with a given path. * @param path The path to the source file. * @param content The content which will be written to the
packages/core/file-system/file-system-access.d.ts:11
↓ 49 callers
Method
keys
()
packages/core/globals/index.ts:44
↓ 48 callers
Method
_getCurrentLayoutBounds
()
packages/core/ui/core/view/index.ios.ts:1107
↓ 48 callers
Method
toString
()
packages/core/xhr/index.ts:455
↓ 47 callers
Method
clear
* @deprecated You no longer need to make this call and can be safely removed.
packages/core/global-types.d.ts:232
↓ 47 callers
Method
update
(source: any)
packages/core/ui/core/bindable/index.ts:199
↓ 46 callers
Method
getViews
(template: string)
apps/automated/src/ui/layouts/safe-area-tests.ts:61
↓ 45 callers
Method
close
Closes this cache. Stored values will remain on the filesystem.
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/image/DiskLruCache.java:688
↓ 45 callers
Method
exists
(path: string)
packages/core/file-system/index.ts:346
↓ 45 callers
Function
getFileAccess
()
packages/core/file-system/index.ts:12
↓ 44 callers
Method
remove
(key: string)
packages/core/ui/image-cache/index.ios.ts:88
↓ 44 callers
Function
test_property_from_CSS_is_applied_to_style
(propName: string, cssName: string, value: any, cssValue?: string, useDeepEquals: boolean = false)
apps/automated/src/ui/styling/style-properties-tests.ts:182
↓ 43 callers
Function
createAnimationFromCSS
(css: string, name: string)
apps/automated/src/ui/animation/css-animation-tests.ts:15
↓ 43 callers
Function
getServerOrigin
* Get server origin for URLs
packages/vite/hmr/server/websocket.ts:5488
↓ 42 callers
Function
test
(parse: (value: string, lastIndex?: number) => T, value: string, lastIndexOrExpected: number | T, expected?: T
packages/core/css/parser.spec.ts:21
↓ 41 callers
Function
isNumber
(value: any)
packages/core/utils/types.ts:5
↓ 40 callers
Method
waitUntilTestElementIsLoaded
(timeoutSec: number = 1)
apps/automated/src/ui-test.ts:23
↓ 39 callers
Function
_createTextFieldFunc
()
apps/automated/src/ui/text-field/text-field-tests.ts:20
↓ 39 callers
Function
createBtn
(text: string)
apps/automated/src/ui/proxy-view-container/proxy-view-container-tests.ts:313
↓ 39 callers
Method
navigateToSample
(sample: string)
apps/ui/e2e/helpers/navigation-helper.ts:67
↓ 38 callers
Method
toString
()
packages/core/ui/styling/style/index.ts:97
↓ 37 callers
Function
CSSType
(type: string)
packages/core/ui/core/view/view-common.ts:38
↓ 36 callers
Method
execute
Executes the task with the specified parameters. The task returns itself (this) so that the caller can keep a reference to it. <p>Note: this function
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/image/AsyncTask.java:549
↓ 36 callers
Function
isString
(value: any)
packages/core/utils/types.ts:1
↓ 36 callers
Method
layout
(left: number, top: number, right: number, bottom: number, setFrame = true)
packages/core/ui/core/view/index.ios.ts:117
↓ 35 callers
Function
assertEqual
(actual: T, expected: T, message: string = '')
apps/automated/src/tk-unit.ts:192
↓ 35 callers
Method
getRootView
()
packages/core/ui/frame/index.d.ts:498
↓ 35 callers
Method
hasListeners
(eventName: string)
packages/core/application/application-common.ts:106
↓ 35 callers
Method
navigateBackToSuitMainPage
()
apps/ui/e2e/helpers/navigation-helper.ts:104
↓ 34 callers
Method
getFile
* Gets a file from a given path. * @param path Path to the file. * @param onError A callback function to use if any error occurs. * Returns path
packages/core/file-system/file-system-access.d.ts:106
↓ 34 callers
Function
notEqual
(a: T, b: T, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:63
next →
1–100 of 15,399, ranked by callers