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.
Package: ui-framework
Properties
applyEmptyValues
Declaration
applyEmptyValues: boolean
Property Value
| Type | Description |
|---|---|
| boolean |
description
The option description.
Declaration
public description: string
Property Value
| Type | Description |
|---|---|
| string | The option description. |
disabled
If true, disables this option.
Declaration
disabled: boolean = false
Property Value
| Type | Description |
|---|---|
| boolean | If |
driver
The e-commerce driver.
Declaration
public driver: IDriver
Property Value
| Type | Description |
|---|---|
| IDriver | The e-commerce driver. |
emptyValuesText
Declaration
emptyValuesText: string
Property Value
| Type | Description |
|---|---|
| string |
id
The option identifier. If there is no such an option in the ecommerce, the editor will create a new option with this id.
Declaration
public id: string
Property Value
| Type | Description |
|---|---|
| string | The option identifier. If there is no such an option in the ecommerce, the editor will create a new option with this |
isActive
Declaration
isActive: boolean = true
Property Value
| Type | Description |
|---|---|
| boolean |
isVisible
Declaration
isVisible: boolean = true
Property Value
| Type | Description |
|---|---|
| boolean |
order
An order in the e-commerce driver.
Declaration
public order: IOrder
Property Value
| Type | Description |
|---|---|
| IOrder | An order in the e-commerce driver. |
prompt
A text message associated with this option.
Declaration
public prompt: string
Property Value
| Type | Description |
|---|---|
| string | A text message associated with this option. |
props
An object defining the option-specific properties.
Declaration
public props: any
Property Value
| Type | Description |
|---|---|
| any | An object defining the option-specific properties. |
required
This property is true for options that must be selected by the user.
Declaration
public required: boolean
Property Value
| Type | Description |
|---|---|
| boolean | This property is |
title
The option title.
Declaration
public title: string
Property Value
| Type | Description |
|---|---|
| string | The option title. |
type
The option type, either radio, image, color, list, checkbox, or text.
Declaration
type: string
Property Value
| Type | Description |
|---|---|
| string | The option type, either |
value
The option value.
Declaration
public value: any
Property Value
| Type | Description |
|---|---|
| any | The option value. |