TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

Class: AuOptionBase

Provides properties for options obtained from the e-commerce driver.

For details, you can refer to the Option widget topic.

An element of the AuWidgetOption class implements properties of this abstract class.

Hierarchy

  • AuElement

    AuOptionBase

Index

Properties

Methods

Properties

$

$: any

Inherited from void


description

description: string

The option description.


disabled

disabled: boolean = false

If true, disables this option.


driver

driver: IDriver

The e-commerce driver.


id

id: string

The option identifier. If there is no such an option in the ecommerce, the editor will create a new option with this id.


order

order: IOrder

An order in the e-commerce driver.


prompt

prompt: string

A text message associated with this option.


props

props: any

An object defining the option-specific properties.


required

required: boolean

This property is true for options that must be selected by the user.


title

title: string

The option title.


type

type: string

The option type, either radio, image, color, list, checkbox, or text.


Abstract value

value: any

The option value.


Static is

is: string

Inherited from void


Static template

template: any

Inherited from void

Methods

connectedCallback

connectedCallback(): void

Inherited from void

Returns:void


disconnectedCallback

disconnectedCallback(): void

Inherited from void

Returns:void


get

get(...args: any[]): any

Inherited from void

Parameters:

Name Type
...args any[]

Returns:any


notifyPath

notifyPath(...args: any[]): any

Inherited from void

Parameters:

Name Type
...args any[]

Returns:any


push

push(...args: any[]): any

Inherited from void

Parameters:

Name Type
...args any[]

Returns:any


ready

ready(): void

Inherited from void

Returns:void


set

set(...args: any[]): void

Inherited from void

Parameters:

Name Type
...args any[]

Returns:void


splice

splice(...args: any[]): any

Inherited from void

Parameters:

Name Type
...args any[]

Returns:any


updateStyles

updateStyles(properties: any): any

Inherited from void

Parameters:

Name Type
properties any

Returns:any