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.

name

string

Required parameter.

Property name.

type

string

Required parameter.

The value must always be property.

value_type

string

Required parameter.

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

new_value_variable_name

string

Name for accessing the data passed to the setter.

Default value: new_value.

set

array

Action when setting a property.

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"
}