Feature Selection

This component is used to display features of the products that the users select. For example, additional features of products.

Following are the various views of the Feature Selection component:

  • Desktop & tablet view : width > 640

  • Mobile view : width < 640

The following are the assumptions/limitations of the component.

  1. There can be a max of 6 radio buttons.
  2. The radio buttons will be aligned vertically.
  3. The clickable area for the radio buttons is just the image.

Usage

Here are the steps to set the component in Quantum Visualizer:

  1. Open the Infinity Origination project in Quantum Visualizer.
  2. Drag and drop a Flex Container widget onto the required form.
  3. Select the Flex Container and set the following properties:
    • Layout type: "Flow Vertical"
    • height: preferred
  4. Insert the component in the Flex Container.
  5. You can add multiple instances of the component using the following code
    //n is the no of instances you want to add
    //flxFeatures is the component's parent flex
    for (let i = 0; i < n; i++) {
        var featureInstance = new com.dbx.featureSelection({
            "clipBounds": false,
            "id": "featureSelection" + i,
            "isVisible": true,
            "masterType": constants.MASTER_TYPE_DEFAULT,
            "top": "0dp",
            "zIndex": 1
        }, {}, {});
        featureInstance.setData(<data>,<otherData>);
        this.view.flxFeatures.add(featureInstance);
    }

APIs


Field Name
|
Application/Table name

Temenos Headquarters SA
2 Rue de l'Ecole-de-Chimie
CH - 1205 Geneva
Switzerland

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, May 23, 2023 9:37:02 PM IST