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

Interface: IWidgetOptionValue

Provides a property to handle an option selection.

Hierarchy

  • IOptionValue

    IWidgetOptionValue

Index

Properties

Methods

Properties

color

color: string

Inherited from void


disabled

disabled: boolean

Inherited from void


id

id: number

Inherited from void


imageUrl

imageUrl: string

Inherited from void


onSelect

onSelect: Function

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


preselected

preselected: boolean

Inherited from void


price

price: number

Inherited from void


props

props: any

Inherited from void


Optional shownPrice

shownPrice? : number

Inherited from void


title

title: string

Inherited from void

Methods

clone

clone(): IInitiable

Inherited from void

Returns:IInitiable


init

init(model: any): void

Inherited from void

Parameters:

Name Type
model any

Returns:void


matchesModel

matchesModel(model: any): boolean

Inherited from void

Parameters:

Name Type
model any

Returns:boolean


matchesPartial

matchesPartial(model: Partial‹IInitiable›): boolean

Inherited from void

Parameters:

Name Type
model Partial‹IInitiable›

Returns:boolean


mergeWithModel

mergeWithModel(other: any): IInitiable

Inherited from void

Parameters:

Name Type
other any

Returns:IInitiable


mergeWithPartial

mergeWithPartial(other: Partial‹IInitiable›): IInitiable

Inherited from void

Parameters:

Name Type
other Partial‹IInitiable›

Returns:IInitiable


validateModel

validateModel(model: any): boolean

Inherited from void

Parameters:

Name Type
model any

Returns:boolean