Back to Website
Show / Hide Table of Contents

Interface IWidget

Provides basic properties for all widgets.

{
  "widgets": [{
    "type": "option",
    "title": "Choose size",
    "name": "size-selector",
    "params": {
      "id": 0
    }
 }]
}
Package: ui-framework

Properties

driver

An e-commerce driver. For details, see Working with e-commerce drivers.

Declaration
driver: IDriver
Property Value
Type Description
IDriver

An e-commerce driver. For details, see Working with e-commerce drivers.

language

The localization language (like en, fr, de, nl, ru, etc.).

Declaration
language: string
Property Value
Type Description
string

The localization language (like en, fr, de, nl, ru, etc.).

name

A unique machine-readable name.

Declaration
name: string
Property Value
Type Description
string

A unique machine-readable name.

title

A widget title that appears in the user interface.

Declaration
title: string
Property Value
Type Description
string

A widget title that appears in the user interface.

type

A widget type.

Declaration
type?: string
Property Value
Type Description
string

A widget type.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback