Search
Preparing search index...
The search index is not available
shopperman api docs
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
CartManipulator
Class CartManipulator
Hierarchy
Component
<
CartManipulatorProps
,
any
>
CartManipulator
Index
Constructors
constructor
Properties
base
context
props
state
default
Props
display
Name
Methods
force
Update
render
set
State
component
Did
Mount
component
Did
Update
component
Will
Mount
component
Will
Receive
Props
component
Will
Unmount
component
Will
Update
get
Child
Context
should
Component
Update
Constructors
constructor
new
Cart
Manipulator
(
props
?:
CartManipulatorProps
, context
?:
any
)
:
CartManipulator
Parameters
Optional
props:
CartManipulatorProps
Optional
context:
any
Returns
CartManipulator
Properties
Optional
base
base
:
HTMLElement
context
context
:
any
props
props
:
RenderableProps
<
CartManipulatorProps
>
state
state
:
Readonly
<
any
>
Static
Optional
default
Props
default
Props
:
any
Static
Optional
display
Name
display
Name
:
string
Methods
force
Update
force
Update
(
callback
?:
function
)
:
void
Parameters
Optional
callback:
function
(
)
:
void
Returns
void
Returns
void
render
render
(
)
:
Element
Returns
Element
set
State
set
State<K>
(
state
:
Pick
<
any
,
K
>
, callback
?:
function
)
:
void
set
State<K>
(
fn
:
function
, callback
?:
function
)
:
void
Type parameters
K
:
keyof any
Parameters
state:
Pick
<
any
,
K
>
Optional
callback:
function
(
)
:
void
Returns
void
Returns
void
Type parameters
K
:
keyof any
Parameters
fn:
function
(
prevState
:
any
, props
:
CartManipulatorProps
)
:
Pick
<
any
,
K
>
Parameters
prevState:
any
props:
CartManipulatorProps
Returns
Pick
<
any
,
K
>
Optional
callback:
function
(
)
:
void
Returns
void
Returns
void
Static
Optional
component
Did
Mount
component
Did
Mount
(
)
:
void
Returns
void
Static
Optional
component
Did
Update
component
Did
Update
(
previousProps
:
Readonly
<
CartManipulatorProps
>
, previousState
:
Readonly
<
any
>
, previousContext
:
any
)
:
void
Parameters
previousProps:
Readonly
<
CartManipulatorProps
>
previousState:
Readonly
<
any
>
previousContext:
any
Returns
void
Static
Optional
component
Will
Mount
component
Will
Mount
(
)
:
void
Returns
void
Static
Optional
component
Will
Receive
Props
component
Will
Receive
Props
(
nextProps
:
Readonly
<
CartManipulatorProps
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
CartManipulatorProps
>
nextContext:
any
Returns
void
Static
Optional
component
Will
Unmount
component
Will
Unmount
(
)
:
void
Returns
void
Static
Optional
component
Will
Update
component
Will
Update
(
nextProps
:
Readonly
<
CartManipulatorProps
>
, nextState
:
Readonly
<
any
>
, nextContext
:
any
)
:
void
Parameters
nextProps:
Readonly
<
CartManipulatorProps
>
nextState:
Readonly
<
any
>
nextContext:
any
Returns
void
Static
Optional
get
Child
Context
get
Child
Context
(
)
:
object
Returns
object
Static
Optional
should
Component
Update
should
Component
Update
(
nextProps
:
Readonly
<
CartManipulatorProps
>
, nextState
:
Readonly
<
any
>
, nextContext
:
any
)
:
boolean
Parameters
nextProps:
Readonly
<
CartManipulatorProps
>
nextState:
Readonly
<
any
>
nextContext:
any
Returns
boolean
Globals
Cart
Manipulator
constructor
base
context
props
state
default
Props
display
Name
force
Update
render
set
State
component
Did
Mount
component
Did
Update
component
Will
Mount
component
Will
Receive
Props
component
Will
Unmount
component
Will
Update
get
Child
Context
should
Component
Update
Generated using
TypeDoc