MCPcopy Create free account

hub / github.com/adearriba/ShopifyCheckoutJS / functions

Functions81 in github.com/adearriba/ShopifyCheckoutJS

↓ 10 callersMethod_triggerEvent
(name, details = {})
src/Checkout.js:90
↓ 7 callersMethodremove
* Removes the field from the page and fires the 'removed' event.
src/Components/Field.js:166
↓ 3 callersMethodcreated
()
src/Components/Field.js:110
↓ 2 callersMethod_getSelectionMethods
(type)
src/Checkout.js:95
↓ 2 callersMethodchanged
(innerEvent)
src/Components/Field.js:117
↓ 2 callersMethodon
* 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 callersMethod_createInput
(id)
src/Components/RadioSelectorField.js:69
↓ 1 callersMethod_createLabel
(args)
src/Components/RadioSelectorField.js:86
↓ 1 callersMethod_getCurrentStep
()
src/Checkout.js:77
↓ 1 callersMethod_getFields
()
src/Checkout.js:49
↓ 1 callersMethod_getLastStep
()
src/Checkout.js:66
↓ 1 callersMethod_getStockProblemList
()
src/Checkout.js:117
↓ 1 callersMethod_setFieldPropierties
(field)
src/Components/Field.js:37
↓ 1 callersMethodaddField
(args)
src/Components/RadioSelectorField.js:61
↓ 1 callersMethodaddField
(args)
src/Components/DropdownField.js:24
↓ 1 callersMethodaddField
(args)
src/Components/TextField.js:16
↓ 1 callersMethodaddField
(checked)
src/Components/CheckboxField.js:41
↓ 1 callersMethodaddTooltip
(text = '', icon = '#question')
src/Components/TextField.js:34
↓ 1 callersMethodcreateFieldByElement
(element)
src/Components/FieldFactory.js:10
↓ 1 callersMethodhide
* Hide the section
src/Components/SectionComponent.js:103
↓ 1 callersMethodinsertBefore
* Insert the current component before the specified component parameter. * @param {BaseComponent} component * @throws {TypeError} Object tr
src/Components/BaseComponent.js:33
↓ 1 callersMethodremove
()
src/Components/RadioContentBoxComponent.js:72
↓ 1 callersMethodremoveError
* Removes the errores for the field.
src/Components/Field.js:154
↓ 1 callersMethodremoveTooltip
()
src/Components/TextField.js:44
↓ 1 callersMethodretrieve
(inputElement)
src/Components/Field.js:7
↓ 1 callersMethodshow
* 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
MethodaddContent
* Add a component to a content DIV inside the section * @param {BaseComponent} component Component to add * @param {number} sectionContentId
src/Components/SectionComponent.js:81
MethodaddDescription
(text)
src/Methods/ShippingMethod.js:15
MethodaddDescription
(text)
src/Methods/SelectionMethod.js:22
MethodaddDescription
(text)
src/Methods/PaymentMethod.js:19
MethodaddField
(args)
src/Components/Field.js:130
MethodaddOption
(args)
src/Components/RadioContentBoxComponent.js:41
MethodaddSectionContentDiv
* Add a new content DIV to the section * @returns {number} The content DIV id
src/Components/SectionComponent.js:91
Functionbuild
()
gulpfile.js:22
Methodchanged
(innerEvent)
src/Components/BaseInputComponent.js:12
Methodchecked
()
src/Components/RadioSelectorField.js:102
Methodchecked
* Returns the state of the checkbox * @returns {boolean}
src/Components/CheckboxField.js:67
Methodchecked
()
src/Methods/SelectionMethod.js:44
Methodconstructor
()
src/Checkout.js:8
Methodconstructor
* Creates a RadioSelectorField component * @param {string} args.id Html element ID * @param {string} args.name Field name * @param {str
src/Components/RadioSelectorField.js:17
Methodconstructor
(args = null)
src/Components/BaseInputComponent.js:4
Methodconstructor
(args)
src/Components/DropdownField.js:4
Methodconstructor
* 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
Methodconstructor
()
src/Components/FieldFactory.js:8
Methodconstructor
(args)
src/Components/Field.js:44
Methodconstructor
(args = null)
src/Components/BaseComponent.js:2
Methodconstructor
(text, fieldId, icon = '#question')
src/Components/Tooltip.js:2
Methodconstructor
(args)
src/Components/TextField.js:5
Methodconstructor
(args)
src/Components/CheckboxField.js:4
Methodconstructor
(args)
src/Components/RadioContentBoxComponent.js:6
Methodconstructor
(value)
src/Exceptions/NotValidFieldException.js:2
Methodconstructor
(message)
src/Exceptions/NotImplementedError.js:2
Methodconstructor
(value)
src/Exceptions/ReferenceNotDefinedException.js:2
Methodconstructor
(element)
src/Methods/ShippingMethod.js:4
Methodconstructor
(element)
src/Methods/SelectionMethod.js:5
Methodconstructor
(element)
src/Methods/PaymentMethod.js:5
MethodgatewayId
* Get the gateway ID value
src/Methods/PaymentMethod.js:31
MethodgatewayName
* Get the gateway name value
src/Methods/PaymentMethod.js:38
FunctiongenerateNpmPackage
()
gulpfile.js:55
Methodinput
()
src/Methods/SelectionMethod.js:26
MethodinsertAfter
* Insert the current component after the specified component parameter. * @param {BaseComponent} component * @throws {TypeError} Object try
src/Components/BaseComponent.js:23
Methodlabel
()
src/Methods/SelectionMethod.js:32
MethodmethodData
()
src/Methods/SelectionMethod.js:36
MethodmethodData
()
src/Methods/PaymentMethod.js:24
MethodmethodId
()
src/Methods/SelectionMethod.js:40
Functionminify
()
gulpfile.js:35
FunctionminifyES5
()
gulpfile.js:43
Methodon
* 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
MethodonValueChanged
* 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
Methodremove
* Remove the selection method
src/Methods/SelectionMethod.js:55
MethodremoveAllOptions
()
src/Components/RadioContentBoxComponent.js:63
MethodshippingRate
* Get the Shipping rate value
src/Methods/ShippingMethod.js:28
MethodshowError
* Displays an error message for the field. * @param {string} message Error message to display
src/Components/Field.js:138
MethodsubtotalPrice
* Get the subtotal price value
src/Methods/ShippingMethod.js:35
Methodtoggle
* Toggle between hide and show
src/Components/SectionComponent.js:121
Methodvalue
()
src/Components/Field.js:172
Methodvalue
()
src/Components/RadioContentBoxComponent.js:78