property_variable

A property that is handeled with get and set methods.

Parameters

Parameters Description
get

string

Required parameter.

Value. Supports expressions for property initialization.

Available platforms: Android, iOS, web.

name

string

Required parameter.

Property name.

Available platforms: Android, iOS, web.

type

string

Required parameter.

The value must always be property.

Available platforms: Android, iOS, web.

value_type

string

Required parameter.

Return property value type.

Possible values: string, integer, number, boolean, datetime, color, url, dict, array.

Available platforms: Android, iOS, web.

new_value_variable_name

string

Name for accessing the data passed to the setter.

Default value: new_value.

Available platforms: Android, iOS, web.

set

array

Action when setting a property.

Available platforms: Android, iOS, web.

JSON
{
  type*: "property",
  get*: "string",
  name*: "string",
  new_value_variable_name: "string",
  set: [
    {
      download_callbacks: {
        on_fail_actions: [ div-action, ... ],
        on_success_actions: [ div-action, ... ]
      },
      is_enabled: "bool_int",
      log_id*: "string",
      log_url: "string",
      menu_items: [
        {
          action: div-action,
          actions: [ div-action, ... ],
          text*: "string"
        },
        ...
      ],
      payload: "object",
      referer: "string",
      scope_id: "string",
      target: "string",
      typed: div-action-typed,
      url: "string"
    },
    ...
  ],
  value_type*: "string"
}