Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Mastering-TypeScript-Second-Edition
/ functions
Functions
825 in github.com/PacktPublishing/Mastering-TypeScript-Second-Edition
⨍
Functions
825
◇
Types & classes
436
↓ 33 callers
Method
get
* Retrieve one of the elements matched by the jQuery object. * * @param index A zero-based integer indicating which element to retrieve.
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2818
↓ 23 callers
Method
toString
()
Chapter04/hello_ch04.ts:247
↓ 21 callers
Method
then
* Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to de
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:183
↓ 17 callers
Method
html
* Get the HTML contents of the first element in the set of matched elements.
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:1289
↓ 16 callers
Method
print
()
Chapter03/hello_ch03.ts:71
↓ 11 callers
Method
getPanelType
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:13
↓ 11 callers
Method
moveToState
(stateType: StateType)
Chapter14/node-angular/src/app/state.mediator.ts:104
↓ 10 callers
Method
id
()
Chapter03/hello_ch03.ts:242
↓ 8 callers
Method
map
* Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. * * @param c
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:3029
↓ 8 callers
Method
post
* Load data from the server using a HTTP POST request. * * @param url A string containing the URL to which the request is sent. * @para
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:720
↓ 8 callers
Method
render
()
Chapter13/node_react/app/index.tsx:8
↓ 7 callers
Method
click
* Trigger the "click" event on an element.
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:1975
↓ 6 callers
Method
bind
* Attach a handler to an event for the elements. * * @param eventType A string containing one or more DOM event types, such as "click" or "
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:1906
↓ 6 callers
Method
getStateType
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:14
↓ 6 callers
Method
sendMail
(to: string, subject: string, content: string)
Chapter12/app/GMailServiceDi.ts:47
↓ 5 callers
Method
create
(arg1: { new(): T })
Chapter04/hello_ch04.ts:339
↓ 5 callers
Method
moveToState
(stateType: StateType)
Chapter11/state-mediator-v2/src/app/state.mediator.ts:81
↓ 5 callers
Method
printDetails
()
Chapter03/hello_ch03.ts:503
↓ 5 callers
Method
register
( interfaceName: string, instance: any)
Chapter12/app/ServiceLocator.ts:3
↓ 5 callers
Method
text
* Get the combined text contents of each element in the set of matched elements, including their descendants.
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2748
↓ 4 callers
Method
add
* Add elements to the set of matched elements. * * @param selector A string representing a selector expression to find additional elements
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2853
↓ 4 callers
Method
append
* Insert content, specified by the parameter, to the end of each element in the set of matched elements. * * param content1 DOM element, ar
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2634
↓ 4 callers
Method
concatenateArray
(inputArray: Array< T >)
Chapter04/hello_ch04.ts:212
↓ 4 callers
Function
delayedPromise
()
Chapter04/hello_ch04.ts:406
↓ 4 callers
Method
getPanelButtonClass
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:16
↓ 4 callers
Method
render
()
Chapter09/backbone_sample/app/BackboneApp.ts:78
↓ 3 callers
Function
addWithTypeGuard
( arg1 : string | number, arg2 : string | number )
Chapter06/code/hello_ch02.ts:305
↓ 3 callers
Function
addWithTypeGuard
( arg1 : string | number, arg2 : string | number )
Chapter02/hello_ch02.ts:305
↓ 3 callers
Method
getCurrentMainPanelState
()
Chapter14/node-angular/src/app/state.mediator.ts:151
↓ 3 callers
Method
getPerson
(dateOfBirth: Date)
Chapter03/hello_ch03.ts:553
↓ 3 callers
Method
pipe
(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any)
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:346
↓ 3 callers
Method
print
(arg : T)
Chapter04/hello_ch04.ts:321
↓ 3 callers
Method
remove
* Remove the set of matched elements from the DOM. * * @param selector A selector expression that filters the set of matched elements to be
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2723
↓ 3 callers
Method
resolve
* Resolve a Deferred object and call any doneCallbacks with the given args. * * @param value First argument passed to doneCallbacks. *
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:420
↓ 3 callers
Method
trigger
* Execute all handlers and behaviors attached to the matched elements for the given event type. * * @param eventType A string containing a
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2492
↓ 2 callers
Function
add
(a: any, b: any)
Chapter06/code/hello_ch02.ts:274
↓ 2 callers
Function
add
(a: any, b: any)
Chapter02/hello_ch02.ts:274
↓ 2 callers
Function
addWithUnion
( arg1: string | number, arg2: string | number)
Chapter06/code/hello_ch02.ts:294
↓ 2 callers
Function
addWithUnion
( arg1: string | number, arg2: string | number)
Chapter02/hello_ch02.ts:294
↓ 2 callers
Method
changeShowHideSideButton
(fromClass: string, toClass: string)
Chapter11/state-mediator-v2/src/app/state.mediator.ts:48
↓ 2 callers
Function
concatStrings
( a: string, b: string, c?: string)
Chapter06/code/hello_ch02.ts:195
↓ 2 callers
Function
concatStrings
( a: string, b: string, c?: string)
Chapter02/hello_ch02.ts:195
↓ 2 callers
Method
css
* Get the value of style properties for the first element in the set of matched elements. * * @param propertyName A CSS property.
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:1406
↓ 2 callers
Method
each
* Iterate over a jQuery object, executing a function for each matched element. * * @param func A function to execute for each matched eleme
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2811
↓ 2 callers
Method
executeSlowFunction
(success: (value: string) => void)
Chapter08/testem/test1.ts:128
↓ 2 callers
Method
fail
* Add handlers to be called when the Deferred object is rejected. * * @param failCallbacks1 A function, or array of functions, that are cal
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:337
↓ 2 callers
Method
find
* Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. * * @param
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2962
↓ 2 callers
Method
getProperties
()
Chapter03/hello_ch03.ts:387
↓ 2 callers
Method
hideDetailPanel
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:47
↓ 2 callers
Method
hideNavPanel
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:45
↓ 2 callers
Method
isLoginVisible
()
Chapter14/node-angular/src/app/state.mediator.ts:19
↓ 2 callers
Method
isSideNavVisible
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:15
↓ 2 callers
Method
on
* Attach an event handler function for one or more events to the selected elements. * * @param events One or more space-separated event type
Chapter06/nuget/NugetSample/Scripts/typings/jquery/jquery.d.ts:2313
↓ 2 callers
Function
printClass
( a : IPrint )
Chapter03/hello_ch03.ts:74
↓ 2 callers
Method
render
()
Chapter09/backbone_sample/app/BackboneApp.ts:104
↓ 2 callers
Method
showDetailPanel
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:46
↓ 2 callers
Method
showNavPanel
()
Chapter11/state-mediator-v2/src/app/state.mediator.ts:44
↓ 2 callers
Method
start
()
Chapter06/nuget/NugetSample/app.ts:14
↓ 2 callers
Function
testArguments
(... argArray: number [])
Chapter06/code/hello_ch02.ts:219
↓ 2 callers
Function
testArguments
(... argArray: number [])
Chapter02/hello_ch02.ts:219
↓ 2 callers
Function
testUndef
(test : null | number)
Chapter06/code/hello_ch02.ts:362
↓ 2 callers
Function
testUndef
(test : null | number)
Chapter02/hello_ch02.ts:362
↓ 2 callers
Method
updateCount
()
Chapter03/hello_ch03.ts:276
↓ 2 callers
Method
usingDefaultParameters
(defaultArg1: number = 0)
Chapter03/hello_ch03.ts:129
↓ 2 callers
Method
usingOptionalParameters
(optionalArg1?: number)
Chapter03/hello_ch03.ts:124
↓ 2 callers
Method
usingRestSyntax
(...argArray: number [])
Chapter03/hello_ch03.ts:132
↓ 2 callers
Method
usingTheAnyKeyword
(arg1: any)
Chapter03/hello_ch03.ts:121
↓ 1 callers
Method
IsEnglishTeam
(arg : T)
Chapter04/hello_ch04.ts:307
↓ 1 callers
Function
addFunction
(a:number, b:number)
Chapter06/code/hello_ch02.ts:185
↓ 1 callers
Function
addFunction
(a:number, b:number)
Chapter02/hello_ch02.ts:185
↓ 1 callers
Function
addNumbers
(a: number, b: number)
Chapter06/code/hello_ch02.ts:173
↓ 1 callers
Function
addNumbers
(a: number, b: number)
Chapter02/hello_ch02.ts:173
↓ 1 callers
Method
applyFilter
( filter: IApplyFilter)
Chapter14/node-angular/src/app/boardlist.component.ts:52
↓ 1 callers
Function
asyncWithMessage
()
Chapter04/hello_ch04.ts:602
↓ 1 callers
Function
awaitDelayed
()
Chapter04/hello_ch04.ts:526
↓ 1 callers
Function
awaitError
()
Chapter04/hello_ch04.ts:551
↓ 1 callers
Function
awaitMessage
()
Chapter04/hello_ch04.ts:615
↓ 1 callers
Function
callAwaitDelayed
()
Chapter04/hello_ch04.ts:540
↓ 1 callers
Function
callAwaitError
()
Chapter04/hello_ch04.ts:565
↓ 1 callers
Function
callDelayedAndWait
()
Chapter04/hello_ch04.ts:375
↓ 1 callers
Function
callDelayedPromise
()
Chapter04/hello_ch04.ts:421
↓ 1 callers
Function
callErrorPromise
()
Chapter04/hello_ch04.ts:441
↓ 1 callers
Function
callPromiseWithParam
()
Chapter04/hello_ch04.ts:496
↓ 1 callers
Method
canSignContracts
()
Chapter03/hello_ch03.ts:502
↓ 1 callers
Method
closeNav
()
Chapter14/node-angular/src/app/sidenav.component.ts:49
↓ 1 callers
Method
closeNav
()
Chapter11/state-mediator-v2/src/app/sidenav.component.ts:11
↓ 1 callers
Method
closeRightWindow
()
Chapter14/node-angular/src/app/rightscreen.component.ts:26
↓ 1 callers
Method
closeRightWindow
()
Chapter11/state-mediator-v2/src/app/rightscreen.component.ts:18
↓ 1 callers
Function
concatStringsDefault
( a: string, b: string, c: string = "c")
Chapter06/code/hello_ch02.ts:209
↓ 1 callers
Function
concatStringsDefault
( a: string, b: string, c: string = "c")
Chapter02/hello_ch02.ts:209
↓ 1 callers
Function
decoratorFactory
(name: string)
Chapter04/hello_ch04.ts:43
↓ 1 callers
Function
delayedPromiseWithParam
()
Chapter04/hello_ch04.ts:481
↓ 1 callers
Function
delayedResponseWithCallback
(callback: Function)
Chapter04/hello_ch04.ts:367
↓ 1 callers
Function
doCalculation
( a : number, b : number, c : number)
Chapter06/code/hello_ch02.ts:6
↓ 1 callers
Function
doCalculation
( a : number, b : number, c : number)
Chapter02/hello_ch02.ts:6
↓ 1 callers
Method
doCallBack
(id: number, callback: (result: string) => void )
Chapter08/testem/test1.ts:85
↓ 1 callers
Method
doCallBack
(id: number, callback: (result: string) => void )
Chapter08/test/01_SimpleJasmineTests.ts:92
↓ 1 callers
Function
doSomethingWithACallback
( initialText: string, callback : (initialText: string) => void )
Chapter06/code/hello_ch02.ts:249
↓ 1 callers
Function
doSomethingWithACallback
( initialText: string, callback : (initialText: string) => void )
Chapter02/hello_ch02.ts:249
↓ 1 callers
Function
errorPromise
()
Chapter04/hello_ch04.ts:430
next →
1–100 of 825, ranked by callers