Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
KnockoutMapping
Interface KnockoutMapping
Index
Methods
defaultOptions
fromJS
fromJSON
getType
isMapped
resetDefaultOptions
toJS
toJSON
visitModel
Methods
public
defaultOptions
(
)
:
KnockoutMappingOptions
Returns
KnockoutMappingOptions
public
fromJS
(
jsObject
:
any
)
:
any
Parameters
jsObject:
any
Returns
any
public
fromJS
(
jsObject
:
any
, targetOrOptions
:
any
)
:
any
Parameters
jsObject:
any
targetOrOptions:
any
Returns
any
public
fromJS
(
jsObject
:
any
, inputOptions
:
any
, target
:
any
)
:
any
Parameters
jsObject:
any
inputOptions:
any
target:
any
Returns
any
public
fromJSON
(
jsonString
:
string
)
:
any
Parameters
jsonString:
string
Returns
any
public
fromJSON
(
jsonString
:
string
, targetOrOptions
:
any
)
:
any
Parameters
jsonString:
string
targetOrOptions:
any
Returns
any
public
fromJSON
(
jsonString
:
string
, inputOptions
:
any
, target
:
any
)
:
any
Parameters
jsonString:
string
inputOptions:
any
target:
any
Returns
any
public
getType
(
x
:
any
)
:
any
Parameters
x:
any
Returns
any
public
isMapped
(
viewModel
:
any
)
:
boolean
Parameters
viewModel:
any
Returns
boolean
public
resetDefaultOptions
(
)
public
toJS
(
rootObject
:
any
, options
?:
KnockoutMappingOptions
)
:
any
Parameters
rootObject:
any
options?:
KnockoutMappingOptions
optional
Returns
any
public
toJSON
(
rootObject
:
any
, options
?:
KnockoutMappingOptions
)
:
any
Parameters
rootObject:
any
options?:
KnockoutMappingOptions
optional
Returns
any
public
visitModel
(
rootObject
:
any
, callback
:
Function
, options
?:
{ visitedObjects?: any; parentName?: any; ignore?: any; copy?: any; include?: any; }
)
:
any
Parameters
rootObject:
any
callback:
Function
options?:
{ visitedObjects?: any; parentName?: any; ignore?: any; copy?: any; include?: any; }
optional
Returns
any
Globals
knockout
knockout