UI Framework ReferenceAuOptionBase

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

Defined in src/elements/au-element/AuElement.ts:6


description

description: string

Defined in src/widgets/au-widget-option/AuOptionBase.ts:40

The option description.


disabled

disabled: boolean = false

Defined in src/widgets/au-widget-option/AuOptionBase.ts:22

If true, disables this option.


driver

driver: IDriver

Defined in src/widgets/au-widget-option/AuOptionBase.ts:37

The e-commerce driver.


id

id: string

Defined in src/widgets/au-widget-option/AuOptionBase.ts:28

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

Defined in src/widgets/au-widget-option/AuOptionBase.ts:34

An order in the e-commerce driver.


prompt

prompt: string

Defined in src/widgets/au-widget-option/AuOptionBase.ts:46

A text message associated with this option.


props

props: any

Defined in src/widgets/au-widget-option/AuOptionBase.ts:49

An object defining the option-specific properties.


required

required: boolean

Defined in src/widgets/au-widget-option/AuOptionBase.ts:43

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


title

title: string

Defined in src/widgets/au-widget-option/AuOptionBase.ts:31

The option title.


type

type: string

Defined in src/widgets/au-widget-option/AuOptionBase.ts:52

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


Abstract value

value: any

Defined in src/widgets/au-widget-option/AuOptionBase.ts:25

The option value.


Static is

is: string

Inherited from void

Defined in src/elements/au-element/AuElement.ts:8


Static template

template: any

Inherited from void

Defined in src/elements/au-element/AuElement.ts:9

Methods

connectedCallback

connectedCallback(): void

Inherited from void

Defined in src/elements/au-element/AuElement.ts:11

Returns:void


disconnectedCallback

disconnectedCallback(): void

Inherited from void

Defined in src/elements/au-element/AuElement.ts:17

Returns:void


get

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

Inherited from void

Defined in src/elements/au-element/AuElement.ts:32

Parameters:

Name Type
...args any[]

Returns:any


notifyPath

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

Inherited from void

Defined in src/elements/au-element/AuElement.ts:47

Parameters:

Name Type
...args any[]

Returns:any


push

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

Inherited from void

Defined in src/elements/au-element/AuElement.ts:42

Parameters:

Name Type
...args any[]

Returns:any


ready

ready(): void

Inherited from void

Defined in src/elements/au-element/AuElement.ts:22

Returns:void


set

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

Inherited from void

Defined in src/elements/au-element/AuElement.ts:27

Parameters:

Name Type
...args any[]

Returns:void


splice

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

Inherited from void

Defined in src/elements/au-element/AuElement.ts:37

Parameters:

Name Type
...args any[]

Returns:any


updateStyles

updateStyles(properties: any): any

Inherited from void

Defined in src/elements/au-element/AuElement.ts:52

Parameters:

Name Type
properties any

Returns:any