Class: AddToCart

AddToCart()

Quick view

Constructor

new AddToCart()

Source:

Extends

Members

(static) Type

Get the add to cart button types enum
Source:

children :Array

Array of child components
Type:
  • Array
Inherited From:
Default Value:
  • []
Source:

parent :Component

The parent component
Type:
  • Component
Inherited From:
Default Value:
  • null
Source:

Methods

_callAllBindEvents()

Bind events on the component (include all child-components)
Inherited From:
Source:

_callAllInit()

Initialize the component (include all child-components)
Inherited From:
Source:

_callAllRender()

Render the component (include all child-components)
Inherited From:
Source:

addComponent(childComponent)

Add the child component into a component
Parameters:
Name Type Description
childComponent Object The child component
Inherited From:
Source:

afterBindEvents()

After bind evnets on the component
Inherited From:
Source:

afterInit()

After initialize callback
Inherited From:
Source:

afterRender()

After reder component callback
Inherited From:
Source:

beforeBindEvents()

Before bind events on component callback
Inherited From:
Source:

beforeInit()

Before initialize callback
Inherited From:
Source:

beforeRender()

Before reder component callback
Inherited From:
Source:

bindEvents()

Bind events on the component
Overrides:
Source:

init()

Initialize component
Inherited From:
Source:

isBindEvents()

Returns whether or not binding the events on a component
Overrides:
Source:

isLoopThroughChild()

Returns whether or not the childs of a component is refresh
Inherited From:
Source:

isRender()

Returns whether or not the component is rendered
Inherited From:
Source:

refresh()

Refresh component
Inherited From:
Source:

removeComponent(childComponent)

Remove a child component of a component
Parameters:
Name Type Description
childComponent Object The child component
Inherited From:
Source:

render()

Render compoment
Overrides:
Source: