MCPcopy Create free account

hub / github.com/NativeScript/NativeScript / functions

Functions15,399 in github.com/NativeScript/NativeScript

↓ 908 callersMethodassert
(test: boolean, message?: string)
packages/core/console/index.ts:13
↓ 743 callersMethodlog
(message: any)
packages/core/console/index.ts:29
↓ 641 callersMethodpush
(request: DownloadRequest)
packages/core/ui/image-cache/image-cache-common.ts:49
↓ 554 callersMethodget
* @deprecated Use deref instead with 8.5+
packages/core/global-types.d.ts:227
↓ 520 callersMethodreplace
(sender: any)
packages/types-ios/src/lib/ios/objc-x86_64/objc!BrowserEngineKit.d.ts:741
↓ 482 callersMethodset
(object: any, src: Source)
packages/core/utils/debug-source.ts:70
↓ 359 callersMethodaddChild
(child: View)
packages/core/ui/layouts/layout-base.ios.ts:9
↓ 350 callersMethodon
(eventNames: string, callback: (data: EventData) => void, thisArg?: any)
packages/core/ui/page/page-common.ts:169
↓ 344 callersMethodwrite
(message: any, category: string, type?: number)
packages/core/trace/index.d.ts:5
↓ 337 callersMethodtest
()
apps/ui/src/button/issue-4385-page.ts:18
↓ 293 callersMethodjoin
* 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 callersMethodregister
(cls: { prototype: T })
packages/core/ui/core/properties/index.ts:342
↓ 273 callersMethodforEach
* 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 callersMethodindexOf
* 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 callersMethodparse
(args: xml.ParserEvent)
packages/core/ui/builder/index.ts:317
↓ 213 callersMethodisEnabled
(position: number)
packages/core/ui/list-view/index.android.ts:964
↓ 213 callersFunctionwidth
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:26
↓ 202 callersFunctionheight
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:22
↓ 199 callersMethodbind
(source: any)
packages/core/ui/core/bindable/index.ts:190
↓ 193 callersMethodadd
* 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 callersMethodincludes
* 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 callersMethodslice
(start?: number, end?: number, type?: string)
packages/core/xhr/index.ts:445
↓ 159 callersMethodnavigate
(params: NavigateMethodArguments)
packages/core/debugger/InspectorBackendCommands.ts:1083
↓ 144 callersMethodequals
(value: IColor)
packages/core/color/color-types.ts:14
↓ 143 callersMethodnotify
(eventData: T)
packages/core/application/application-common.ts:105
↓ 143 callersMethodwarn
(message: any)
packages/core/console/index.ts:21
↓ 142 callersFunctionregisterColor
(name: string | string[], value: number)
packages/core/color/known-colors.ts:2
↓ 142 callersMethodset
* Updates the specified property with the provided value.
packages/core/data/observable/index.ts:126
↓ 135 callersMethodfilter
* 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 callersMethodmap
()
packages/types-ios/src/lib/ios/objc-x86_64/objc!ModelIO.d.ts:1434
↓ 124 callersMethodtopmost
()
packages/core/ui/frame/frame-common.ts:67
↓ 122 callersFunctionisTopAlignedWith
(view1: View, view2: View, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:87
↓ 117 callersMethodgetMeasuredHeight
()
packages/core/ui/core/view/index.android.ts:976
↓ 117 callersMethodnew
()
packages/core/ui/image-cache/index.ios.ts:8
↓ 115 callersFunctionresolve
(...args)
packages/webpack5/scripts/jest.setup.ts:58
↓ 114 callersFunctionisLeftAlignedWith
(view1: View, view2: View, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:79
↓ 113 callersMethodgetChildAt
(index: number)
packages/core/ui/styling/css-selector.ts:26
↓ 105 callersMethodgetMeasuredWidth
()
packages/core/ui/core/view/index.android.ts:968
↓ 104 callersMethodoff
(event: 'itemLoading', callback: (args: EventData) => void, thisArg?: any)
packages/core/ui/list-view/index.d.ts:288
↓ 99 callersFunctionequal
(a: T, b: T, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:43
↓ 95 callersMethodresolve
(id: string)
packages/core/global-types.d.ts:220
↓ 93 callersFunctionregisterTestModule
(name, loader: (name: string) => void)
apps/automated/src/ui/builder/builder-file-qualifiers-tests.ts:7
↓ 92 callersFunctiontest
(ui: () => U, setup: (ui: U) => void, test: (ui: U) => void)
apps/automated/src/ui/layouts/flexbox-layout-tests.ts:83
↓ 91 callersMethodmatch
(node: Node)
packages/core/ui/styling/css-selector.ts:261
↓ 80 callersMethodwaitUntilTestElementLayoutIsValid
(view: view.View, timeoutSec?: number)
apps/automated/src/ui/layouts/safe-area-tests.ts:15
↓ 79 callersMethoderror
(message: any)
packages/core/console/index.ts:25
↓ 76 callersFunctioncloseEnough
(a: number, b: number, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:47
↓ 75 callersMethodcall
()
packages/ui-mobile-base/android/widgets/src/main/java/org/nativescript/widgets/image/AsyncTask.java:312
↓ 75 callersFunctiononError
(error)
apps/automated/src/file-system-access-tests/file-system-access-tests.ts:12
↓ 71 callersFunctionsetTimeout
(callback: Function, milliseconds = 0, ...args)
packages/core/timer/index.ios.ts:72
↓ 71 callersFunctiontop
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:12
↓ 70 callersFunctionisRightOf
(view1: View, view2: View, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:107
↓ 69 callersFunctionleft
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:9
↓ 69 callersMethodsize
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 callersMethodcreate
()
packages/core/debugger/index.ts:4
↓ 66 callersMethodgoBack
()
packages/core/ui/web-view/index.ios.ts:247
↓ 66 callersFunctiontestSingleAnimation
(css: string)
packages/core/ui/styling/css-animation-parser.spec.ts:22
↓ 65 callersMethodresolveSizeAndState
(size: number, specSize: number, specMode: number, childMeasuredState: number)
packages/core/ui/core/view/index.android.ts:1050
↓ 62 callersFunctioncallback
()
packages/core/ui/gestures/gestures-common.ts:77
↓ 62 callersMethodnotifyPropertyChange
* Notifies all the registered listeners for the property change event.
packages/core/data/observable/index.ts:467
↓ 61 callersFunctionright
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:15
↓ 60 callersFunctionisBelow
(view1: View, view2: View, distance?: number, message?: string)
apps/automated/src/ui/layouts/layout-tests-helper.ts:111
↓ 59 callersFunctionbottom
(view: View)
apps/automated/src/ui/layouts/layout-tests-helper.ts:18
↓ 58 callersMethodanimate
(definition: AnimationDefinition | TouchAnimationFn)
packages/core/ui/gestures/touch-manager.ts:183
↓ 55 callersMethodsplice
* 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 callersFunctiongetNativeApp
()
packages/core/application/helpers-common.ts:44
↓ 52 callersMethoddelete
* @since 3.2
packages/types-ios/src/lib/ios/objc-x86_64/objc!UIKit.d.ts:27255
↓ 52 callersMethodexecuteSnippet
(ui: U, setup: (ui: U) => void, test: (ui: U) => void, pageOptions?: helper.PageOptions)
apps/automated/src/ui/layouts/safe-area-tests.ts:14
↓ 51 callersMethodgetResources
* Get application level static resources.
packages/core/application/application-common.ts:472
↓ 49 callersMethodappend
* 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 callersMethodkeys
()
packages/core/globals/index.ts:44
↓ 48 callersMethod_getCurrentLayoutBounds
()
packages/core/ui/core/view/index.ios.ts:1107
↓ 48 callersMethodtoString
()
packages/core/xhr/index.ts:455
↓ 47 callersMethodclear
* @deprecated You no longer need to make this call and can be safely removed.
packages/core/global-types.d.ts:232
↓ 47 callersMethodupdate
(source: any)
packages/core/ui/core/bindable/index.ts:199
↓ 46 callersMethodgetViews
(template: string)
apps/automated/src/ui/layouts/safe-area-tests.ts:61
↓ 45 callersMethodclose
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 callersMethodexists
(path: string)
packages/core/file-system/index.ts:346
↓ 45 callersFunctiongetFileAccess
()
packages/core/file-system/index.ts:12
↓ 44 callersMethodremove
(key: string)
packages/core/ui/image-cache/index.ios.ts:88
↓ 44 callersFunctiontest_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 callersFunctioncreateAnimationFromCSS
(css: string, name: string)
apps/automated/src/ui/animation/css-animation-tests.ts:15
↓ 43 callersFunctiongetServerOrigin
* Get server origin for URLs
packages/vite/hmr/server/websocket.ts:5488
↓ 42 callersFunctiontest
(parse: (value: string, lastIndex?: number) => T, value: string, lastIndexOrExpected: number | T, expected?: T
packages/core/css/parser.spec.ts:21
↓ 41 callersFunctionisNumber
(value: any)
packages/core/utils/types.ts:5
↓ 40 callersMethodwaitUntilTestElementIsLoaded
(timeoutSec: number = 1)
apps/automated/src/ui-test.ts:23
↓ 39 callersFunction_createTextFieldFunc
()
apps/automated/src/ui/text-field/text-field-tests.ts:20
↓ 39 callersFunctioncreateBtn
(text: string)
apps/automated/src/ui/proxy-view-container/proxy-view-container-tests.ts:313
↓ 39 callersMethodnavigateToSample
(sample: string)
apps/ui/e2e/helpers/navigation-helper.ts:67
↓ 38 callersMethodtoString
()
packages/core/ui/styling/style/index.ts:97
↓ 37 callersFunctionCSSType
(type: string)
packages/core/ui/core/view/view-common.ts:38
↓ 36 callersMethodexecute
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 callersFunctionisString
(value: any)
packages/core/utils/types.ts:1
↓ 36 callersMethodlayout
(left: number, top: number, right: number, bottom: number, setFrame = true)
packages/core/ui/core/view/index.ios.ts:117
↓ 35 callersFunctionassertEqual
(actual: T, expected: T, message: string = '')
apps/automated/src/tk-unit.ts:192
↓ 35 callersMethodgetRootView
()
packages/core/ui/frame/index.d.ts:498
↓ 35 callersMethodhasListeners
(eventName: string)
packages/core/application/application-common.ts:106
↓ 35 callersMethodnavigateBackToSuitMainPage
()
apps/ui/e2e/helpers/navigation-helper.ts:104
↓ 34 callersMethodgetFile
* 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 callersFunctionnotEqual
(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