META

Элемент me-lego

Основной элемент-контейнер для рендеринга элементов. Рендерится в me-page как основной контейнер, а так же может быть использован внутри себя и себе подобных контейнеров: me-lego, me-lego-list, me-wizard

Общее

Обратите внимание на структуру всех классов

Структура

{
  "__tid": "(any)",
  "align": "(string)",
  "attrs": {
    "background": "(boolean)",
    "collapsable": "(boolean)",
    "defaultBlockEnabled": "(boolean)",
    "formHorizontal": {
      "elemLabelGridSize": "(number)"
    },
    "hideLabelsAttr": "(boolean)",
    "logo": "(string)",
    "openContent": "(boolean)",
    "optional": "(boolean)",
    "style": "( default | card )",
    "viewSize": "( sm )"
  },
  "bindAttrs": [
    {
      "source": "(string)",
      "target": "(string)"
    }
  ],
  "defaultValue": "(any)",
  "depends": [
    "(string)"
  ],
  "elems": [
    {
      "__tid": "(any)",
      "align": "(string)",
      "bindAttrs": [
        {
          "source": "(string)",
          "target": "(string)"
        }
      ],
      "defaultValue": "(any)",
      "depends": [
        "(string)"
      ],
      "entityId": "(string)",
      "errors": [
        {
          "id": "(string)",
          "name": "(string)"
        }
      ],
      "formHorizontal": "(boolean)",
      "help": "(string)",
      "icon": "(string)",
      "id": "(string)",
      "inlineForm": "(boolean)",
      "label": "(string)",
      "listen": [
        {
          "$promise": "(any)",
          "code": [
            "( ADD | SET, REMOVE )"
          ],
          "entityId": "(string)",
          "objectId": "(string)",
          "pubSubChannel": [
            "(string)"
          ],
          "refreshRefPvmData": "(any)",
          "reload": "(any)",
          "selectAfterAdd": "(boolean)"
        }
      ],
      "name": "(string)",
      "offset": "(number)",
      "order": "(number)",
      "persistValueView": "(boolean)",
      "refPvmData": {
        "additionalPartialLoad": [
          "(string)"
        ],
        "dataId": "(string)",
        "id": "(string)",
        "spQueryDepends": [
          "(string)"
        ],
        "waitingId": "(string)"
      },
      "refPvmValidator": {
        "additionalPartialLoad": [
          "(string)"
        ],
        "dataId": "(string)",
        "id": "(string)",
        "spQueryDepends": [
          "(string)"
        ],
        "waitingId": "(string)"
      },
      "selectedValueView": "(any)",
      "selfDepends": "(boolean)",
      "span": "(number)",
      "tooltip": {
        "content": "(string)",
        "label": "(string)"
      },
      "valid": "(boolean)",
      "validateInProgress": "(boolean)",
      "value": "(string)",
      "visible": "(boolean)"
    }
  ],
  "entityId": "(string)",
  "errors": [
    {
      "id": "(string)",
      "name": "(string)"
    }
  ],
  "formHorizontal": "(boolean)",
  "help": "(string)",
  "icon": "(string)",
  "id": "(string)",
  "inlineForm": "(boolean)",
  "label": "(string)",
  "listen": [
    {
      "$promise": "(any)",
      "code": [
        "( ADD | SET, REMOVE )"
      ],
      "entityId": "(string)",
      "objectId": "(string)",
      "pubSubChannel": [
        "(string)"
      ],
      "refreshRefPvmData": "(any)",
      "reload": "(any)",
      "selectAfterAdd": "(boolean)"
    }
  ],
  "name": "me-lego",
  "offset": "(number)",
  "order": "(number)",
  "persistValueView": "(boolean)",
  "refPvmData": {
    "additionalPartialLoad": [
      "(string)"
    ],
    "dataId": "(string)",
    "id": "(string)",
    "spQueryDepends": [
      "(string)"
    ],
    "waitingId": "(string)"
  },
  "refPvmValidator": {
    "additionalPartialLoad": [
      "(string)"
    ],
    "dataId": "(string)",
    "id": "(string)",
    "spQueryDepends": [
      "(string)"
    ],
    "waitingId": "(string)"
  },
  "selectedValueView": "(any)",
  "selfDepends": "(boolean)",
  "span": "(number)",
  "tooltip": {
    "content": "(string)",
    "label": "(string)"
  },
  "valid": "(boolean)",
  "validateInProgress": "(boolean)",
  "value": "(string)",
  "visible": "(boolean)"
}

@default “left”

@example https://apps.devision.io/page?p=4329&a=35

@example https://apps.devision.io/page?p=3597&a=35

@example https://apps.devision.io/page?p=3570&a=35

@example https://apps.devision.io/page?p=4329&a=35

@link http://ui.adplatform.lan/Static_Full_Version/icons.html

@link {http://stackoverflow.com/questions/12201835/form-inline-inside-a-form-horizontal-in-twitter-bootstrap}

@example https://apps.devision.io/page?p=3570&a=35

@example https://apps.devision.io/page?p=3597&a=35

@example https://apps.devision.io/page?p=3443&a=35

@beta

@example https://apps.devision.io/page?p=3570&a=35