UI Framework ReferenceIWidgetOptionValue

Interface: IWidgetOptionValue

Provides a property to handle an option selection.

Hierarchy

  • IOptionValue

    IWidgetOptionValue

Index

Properties

Methods

Properties

color

color: string

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:10


disabled

disabled: boolean

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:7


id

id: number

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:4


imageUrl

imageUrl: string

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:11


onSelect

onSelect: Function

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

A single function that will be executed when the user selects a value.


preselected

preselected: boolean

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:6


price

price: number

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:8


props

props: any

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:12


Optional shownPrice

shownPrice? : number

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:9


title

title: string

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IOptionValue.ts:5

Methods

clone

clone(): IInitiable

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IInitiable.ts:3

Returns:IInitiable


init

init(model: any): void

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IInitiable.ts:2

Parameters:

Name Type
model any

Returns:void


matchesModel

matchesModel(model: any): boolean

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IInitiable.ts:7

Parameters:

Name Type
model any

Returns:boolean


matchesPartial

matchesPartial(model: Partial‹IInitiable›): boolean

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IInitiable.ts:8

Parameters:

Name Type
model Partial‹IInitiable›

Returns:boolean


mergeWithModel

mergeWithModel(other: any): IInitiable

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IInitiable.ts:4

Parameters:

Name Type
other any

Returns:IInitiable


mergeWithPartial

mergeWithPartial(other: Partial‹IInitiable›): IInitiable

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IInitiable.ts:5

Parameters:

Name Type
other Partial‹IInitiable›

Returns:IInitiable


validateModel

validateModel(model: any): boolean

Inherited from void

Defined in src/shared/ecommerce-drivers/src/Base/Interfaces/IInitiable.ts:6

Parameters:

Name Type
model any

Returns:boolean