UNPKG

cronapp-framework-mobile-js

Version:
124 lines 3.01 kB
{ "name": "crn-image", "text_pt_BR": "Imagem", "text_en_US": "Image", "image": "/node_modules/cronapp-framework-mobile-js/img/cron-icon/crn-image.svg", "description": "Imagem", "description_en_US": "Image", "category": [ "INPUTS", "LAYOUTS" ], "wrapper": false, "template": "<img alt='Placehold' src=\"node_modules/cronapp-framework-mobile-js/img/placehold-900x500.png\" class=\"\" style=\"object-fit: cover;\" xattr-position=\"\" width=\"100%\" height=\"\" object-fit=\"object-fit: cover;\" >", "properties": { "src": { "type": "projectResource", "resourceType": "image/jpeg,image/gif,image/png,image/svg+xml", "extraOptions": { "imageSelector": true }, "displayName_pt_BR": "Imagem", "displayName_en_US": "Image", "order": 1 }, "xattr-position": { "removable": false, "order": 2 }, "object-fit": { "displayName_pt_BR": "Preenchimento da imagem", "displayName_en_US": "Image filling", "order": 3 }, "width": { "displayName_pt_BR": "Largura", "displayName_en_US": "Width", "order": 4 }, "height": { "displayName_pt_BR": "Altura", "displayName_en_US": "Height", "order": 5 }, "alt": { "displayName_pt_BR": "Valor alternativo", "displayName_en_US": "Placeholder", "order": 6 }, "ng-click": { "removable": false, "type": "event" }, "on-hold": { "removable": false, "type": "event" }, "on-double-tap": { "removable": false, "type": "event" }, "on-tap": { "removable": false, "type": "event" }, "on-swipe": { "removable": false, "type": "event" }, "on-drag": { "removable": false, "type": "event" } }, "attributesForPreview": [ { "name": "xattr-position", "type": "btngroup", "target": "class", "values": [ { "key": "left-block", "value_pt_BR": "Esquerda", "value_en_US": "Left" }, { "key": "center-block", "value_pt_BR": "Centro", "value_en_US": "Center" }, { "key": "right-block", "value_pt_BR": "Direita", "value_en_US": "Right" } ] }, { "name": "object-fit", "target": "style", "type": "options", "values": [ { "key": "object-fit: cover;", "value_pt_BR": "Proporcional", "value_en_US": "Proportional" }, { "key": "object-fit: contain;", "value_pt_BR": "Ajustado", "value_en_US": "Adjusted" }, { "key": "object-fit: fill;", "value_pt_BR": "Preencher (padrão)", "value_en_US": "Fill (default)" }, { "key": "object-fit: none;", "value_pt_BR": "Nenhum", "value_en_US": "None" } ] } ] }