{
  "name": "crn-textarea",
  "text_pt_BR": "Área de texto",
  "text_en_US": "Textarea",
  "image": "/node_modules/cronapp-framework-mobile-js/img/cron-icon/crn-textarea.svg",
  "description": "Campo para inserir texto longo",
  "description_en_US": "Long text input field",
  "category": [
    "INPUTS", "FORMS"
  ],
  "wrapper": false,
  "templateURL": "src/main/mobileapp/www/node_modules/cronapp-framework-mobile-js/dist/components/templates/textarea.template.html",
  "properties": {
    "class": {
      "order": 9999
    },
    "cronapp-security": {
      "order": 9998
    },
    "id": {
      "order": 9996
    },
    "ng-show": {
      "order": 9997
    },
    "style": {
      "order": 9997
    },
    "ng-model": {
      "onSave": "javascript:function() { var result = arguments[0]; if (result.indexOf('.') == -1) { result = 'vars.'+result;  }  return result; }",
      "onDisplay": "javascript:function() { return arguments[0].replace('vars.',''); }",
      "order": 1,
      "mandatory": true
    },
    "placeholder": {
      "order": 3
    },
    "rows": {
      "displayName_pt_BR": "Quantidade de linhas",
      "displayName_en_US": "Number of lines",
      "order": 4
    },
    "resize": {
      "displayName_pt_BR": "Redimensionável",
      "displayName_en_US": "Resize",
      "order": 5
    },
    "ng-keydown": {
      "type": "event"
    },
    "ng-keypress": {
      "type": "event"
    },
    "ng-focus": {
      "type": "event"
    },
    "ng-blur": {
      "type": "event"
    }
  },
  "rows": {
    "displayName": "rows"
  },
  "attributesForPreview": [
    {
      "name": "resize",
      "type": "options",
      "target": "style",
      "values": [
        {
          "key": "resize:none;",
          "value_pt_BR": "Nenhum",
          "value_en_US": "None"
        },
        {
          "key": "resize:horizontal;",
          "value": "Horizontal"
        },
        {
          "key": "resize:vertical;",
          "value": "Vertical"
        },
        {
          "key": "resize:both;",
          "value_pt_BR": "Ambos",
          "value_en_US": "Both"
        }
      ]
    }
  ],
  "childrenProperties": [
    {
      "name": "minlength",
      "selector": "input",
      "type": "text",
      "displayName_pt_BR": "Tamanho mínimo",
      "displayName_en_US": "Minimum size",
      "order": 1
    },
    {
      "name": "maxlength",
      "selector": "input",
      "type": "text",
      "displayName_pt_BR": "Máximo de caracteres",
      "displayName_en_US": "Maximum characters",
      "order": 2
    }
  ]
}