- SmartCart.getNotesData ⇒
object
|null
Returns the notes state data from the SmartCart object (not the settings).
- SmartCart.getNotesLabel ⇒
string
Returns the configured label for the notes input
- SmartCart.getNotesPlaceholder ⇒
string
Returns the configured placeholder for the notes input
- SmartCart.getNotesSettings ⇒
object
Returns the notes settings from the SmartCart object.
- SmartCart.notesChange ⇒
void
Handles updating the notes value
- SmartCart.notesEnabled ⇒
boolean
Returns a boolean indicating whether or not the notes component is enabled (ie. not hidden)
- SmartCart.notesIsVisible ⇒
boolean
Returns a boolean indicating whether or not the notes input is visible to customer
- SmartCart.notesRemainingCharacters ⇒
string
Returns a string containing the remaining characters message
- SmartCart.notesToggle ⇒
void
Handles toggling the visibility of the notes input
SmartCart.getNotesData
⇒ object
| null
SmartCart.getNotesData
⇒ object
| null
Returns the notes state data from the SmartCart object (not the settings).
SmartCart.getNotesLabel
⇒ string
SmartCart.getNotesLabel
⇒ string
Returns the configured label for the notes input
SmartCart.getNotesPlaceholder
⇒ string
SmartCart.getNotesPlaceholder
⇒ string
Returns the configured placeholder for the notes input
SmartCart.getNotesSettings
⇒ object
SmartCart.getNotesSettings
⇒ object
Returns the notes settings from the SmartCart object.
SmartCart.notesChange
⇒ void
SmartCart.notesChange
⇒ void
Handles updating the notes value
Param | Type | Description |
---|---|---|
event | Event | DOM user action event |
SmartCart.notesEnabled
⇒ boolean
SmartCart.notesEnabled
⇒ boolean
Returns a boolean indicating whether or not the notes component is enabled (ie. not hidden)
SmartCart.notesIsVisible
⇒ boolean
SmartCart.notesIsVisible
⇒ boolean
Returns a boolean indicating whether or not the notes input is visible to customer
SmartCart.notesRemainingCharacters
⇒ string
SmartCart.notesRemainingCharacters
⇒ string
Returns a string containing the remaining characters message
SmartCart.notesToggle
⇒ void
SmartCart.notesToggle
⇒ void
Handles toggling the visibility of the notes input