Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adearriba/ShopifyCheckoutJS
/ functions
Functions
81 in github.com/adearriba/ShopifyCheckoutJS
⨍
Functions
81
◇
Types & classes
38
↓ 10 callers
Method
_triggerEvent
(name, details = {})
src/Checkout.js:90
↓ 7 callers
Method
remove
* Removes the field from the page and fires the 'removed' event.
src/Components/Field.js:166
↓ 3 callers
Method
created
()
src/Components/Field.js:110
↓ 2 callers
Method
_getSelectionMethods
(type)
src/Checkout.js:95
↓ 2 callers
Method
changed
(innerEvent)
src/Components/Field.js:117
↓ 2 callers
Method
on
* Add an event listener to a specific event * @param {string} event Event name * @param {function} callback Callback function to execute wh
src/Components/BaseInputComponent.js:27
↓ 1 callers
Method
_createInput
(id)
src/Components/RadioSelectorField.js:69
↓ 1 callers
Method
_createLabel
(args)
src/Components/RadioSelectorField.js:86
↓ 1 callers
Method
_getCurrentStep
()
src/Checkout.js:77
↓ 1 callers
Method
_getFields
()
src/Checkout.js:49
↓ 1 callers
Method
_getLastStep
()
src/Checkout.js:66
↓ 1 callers
Method
_getStockProblemList
()
src/Checkout.js:117
↓ 1 callers
Method
_setFieldPropierties
(field)
src/Components/Field.js:37
↓ 1 callers
Method
addField
(args)
src/Components/RadioSelectorField.js:61
↓ 1 callers
Method
addField
(args)
src/Components/DropdownField.js:24
↓ 1 callers
Method
addField
(args)
src/Components/TextField.js:16
↓ 1 callers
Method
addField
(checked)
src/Components/CheckboxField.js:41
↓ 1 callers
Method
addTooltip
(text = '', icon = '#question')
src/Components/TextField.js:34
↓ 1 callers
Method
createFieldByElement
(element)
src/Components/FieldFactory.js:10
↓ 1 callers
Method
hide
* Hide the section
src/Components/SectionComponent.js:103
↓ 1 callers
Method
insertBefore
* Insert the current component before the specified component parameter. * @param {BaseComponent} component * @throws {TypeError} Object tr
src/Components/BaseComponent.js:33
↓ 1 callers
Method
remove
()
src/Components/RadioContentBoxComponent.js:72
↓ 1 callers
Method
removeError
* Removes the errores for the field.
src/Components/Field.js:154
↓ 1 callers
Method
removeTooltip
()
src/Components/TextField.js:44
↓ 1 callers
Method
retrieve
(inputElement)
src/Components/Field.js:7
↓ 1 callers
Method
show
* Show the section
src/Components/SectionComponent.js:112
Method
_fieldCreated
(event)
src/Checkout.js:181
Method
_fieldRemoved
(event)
src/Checkout.js:195
Method
_onContinue
(event)
src/Checkout.js:133
Method
_onLoad
(event)
src/Checkout.js:137
Method
addContent
* Add a component to a content DIV inside the section * @param {BaseComponent} component Component to add * @param {number} sectionContentId
src/Components/SectionComponent.js:81
Method
addDescription
(text)
src/Methods/ShippingMethod.js:15
Method
addDescription
(text)
src/Methods/SelectionMethod.js:22
Method
addDescription
(text)
src/Methods/PaymentMethod.js:19
Method
addField
(args)
src/Components/Field.js:130
Method
addOption
(args)
src/Components/RadioContentBoxComponent.js:41
Method
addSectionContentDiv
* Add a new content DIV to the section * @returns {number} The content DIV id
src/Components/SectionComponent.js:91
Function
build
()
gulpfile.js:22
Method
changed
(innerEvent)
src/Components/BaseInputComponent.js:12
Method
checked
()
src/Components/RadioSelectorField.js:102
Method
checked
* Returns the state of the checkbox * @returns {boolean}
src/Components/CheckboxField.js:67
Method
checked
()
src/Methods/SelectionMethod.js:44
Method
constructor
()
src/Checkout.js:8
Method
constructor
* Creates a RadioSelectorField component * @param {string} args.id Html element ID * @param {string} args.name Field name * @param {str
src/Components/RadioSelectorField.js:17
Method
constructor
(args = null)
src/Components/BaseInputComponent.js:4
Method
constructor
(args)
src/Components/DropdownField.js:4
Method
constructor
* Creates a new Section component if passed {title} and {name}. * Creates a Section component from an existing Section if passed a CSS selector a
src/Components/SectionComponent.js:11
Method
constructor
()
src/Components/FieldFactory.js:8
Method
constructor
(args)
src/Components/Field.js:44
Method
constructor
(args = null)
src/Components/BaseComponent.js:2
Method
constructor
(text, fieldId, icon = '#question')
src/Components/Tooltip.js:2
Method
constructor
(args)
src/Components/TextField.js:5
Method
constructor
(args)
src/Components/CheckboxField.js:4
Method
constructor
(args)
src/Components/RadioContentBoxComponent.js:6
Method
constructor
(value)
src/Exceptions/NotValidFieldException.js:2
Method
constructor
(message)
src/Exceptions/NotImplementedError.js:2
Method
constructor
(value)
src/Exceptions/ReferenceNotDefinedException.js:2
Method
constructor
(element)
src/Methods/ShippingMethod.js:4
Method
constructor
(element)
src/Methods/SelectionMethod.js:5
Method
constructor
(element)
src/Methods/PaymentMethod.js:5
Method
gatewayId
* Get the gateway ID value
src/Methods/PaymentMethod.js:31
Method
gatewayName
* Get the gateway name value
src/Methods/PaymentMethod.js:38
Function
generateNpmPackage
()
gulpfile.js:55
Method
input
()
src/Methods/SelectionMethod.js:26
Method
insertAfter
* Insert the current component after the specified component parameter. * @param {BaseComponent} component * @throws {TypeError} Object try
src/Components/BaseComponent.js:23
Method
label
()
src/Methods/SelectionMethod.js:32
Method
methodData
()
src/Methods/SelectionMethod.js:36
Method
methodData
()
src/Methods/PaymentMethod.js:24
Method
methodId
()
src/Methods/SelectionMethod.js:40
Function
minify
()
gulpfile.js:35
Function
minifyES5
()
gulpfile.js:43
Method
on
* Add an event listener for a specific `event` * @param {string} event Event name to listen * @param {string} callback Callback function to
src/Checkout.js:210
Method
onValueChanged
* Call a callback when the value of the component changes. * @param {function} callback Callback function to execute when the component changes
src/Components/BaseInputComponent.js:35
Method
remove
* Remove the selection method
src/Methods/SelectionMethod.js:55
Method
removeAllOptions
()
src/Components/RadioContentBoxComponent.js:63
Method
shippingRate
* Get the Shipping rate value
src/Methods/ShippingMethod.js:28
Method
showError
* Displays an error message for the field. * @param {string} message Error message to display
src/Components/Field.js:138
Method
subtotalPrice
* Get the subtotal price value
src/Methods/ShippingMethod.js:35
Method
toggle
* Toggle between hide and show
src/Components/SectionComponent.js:121
Method
value
()
src/Components/Field.js:172
Method
value
()
src/Components/RadioContentBoxComponent.js:78