Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
KnockoutComputed
Interface KnockoutComputed
Hierarchy
KnockoutObservable
KnockoutComputedFunctions
KnockoutComputed
Index
Call signatures
Properties
valueHasMutated
valueWillMutate
Methods
dispose
equalityComparer
extend
getDependenciesCount
getSubscriptionsCount
isActive
notifySubscribers
peek
subscribe
Call signatures
(
)
:
T in KnockoutObservable<T>
Returns
T in KnockoutObservable<T>
(
value
:
T in KnockoutObservable<T>
)
Parameters
value:
T in KnockoutObservable<T>
Properties
optional
public
valueHasMutated
?:
() => void
(
)
optional
public
valueWillMutate
?:
() => void
(
)
Methods
public
dispose
(
)
public
equalityComparer
(
a
:
any
, b
:
any
)
:
boolean
Parameters
a:
any
b:
any
Returns
boolean
public
extend
(
requestedExtenders
:
{ [key: string]: any; }
)
:
KnockoutComputed
Parameters
requestedExtenders:
{ [key: string]: any; }
Returns
KnockoutComputed
public
getDependenciesCount
(
)
:
number
Returns
number
public
getSubscriptionsCount
(
)
:
number
Returns
number
public
isActive
(
)
:
boolean
Returns
boolean
public
notifySubscribers
(
valueToWrite
?:
T in KnockoutSubscribableFunctions<T>
, event
?:
string
)
Parameters
valueToWrite?:
T in KnockoutSubscribableFunctions<T>
optional
event?:
string
optional
public
peek
(
)
:
T in KnockoutObservable<T>
Returns
T in KnockoutObservable<T>
public
subscribe
(
callback
:
(newValue: T) => void
, target
?:
any
, event
?:
string
)
:
KnockoutSubscription
Parameters
callback:
(newValue: T) => void
target?:
any
optional
event?:
string
optional
Returns
KnockoutSubscription
public
subscribe
(
callback
:
(newValue: TEvent) => void
, target
:
any
, event
:
string
)
:
KnockoutSubscription
Parameters
callback:
(newValue: TEvent) => void
target:
any
event:
string
Returns
KnockoutSubscription
Globals
knockout
knockout