Skip to main content

au-widget-option/AuOptionBase

Classes​

abstract 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.

Extends​

  • any

Properties​

applyEmptyValues​
applyEmptyValues: boolean;
description​
description: string;

The option description.

disabled​
disabled: boolean = false;

If true, disables this option.

driver​
driver: IDriver;

The e-commerce driver.

emptyValuesText​
emptyValuesText: string;
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.

isActive​
isActive: boolean = true;
isVisible​
isVisible: boolean = true;
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.

value​
abstract value: any;

The option value.

Was this page helpful?