UNPKG

cronapp-framework-mobile-js

Version:
120 lines 2.97 kB
{ "name": "crn-paragraph", "text_pt_BR": "Parágrafo", "text_en_US": "Paragraph", "image": "/node_modules/cronapp-framework-mobile-js/img/cron-icon/crn-paragraph.svg", "description": "Estrutura para inserir texto longo", "description_en_US": "Structure for inserting long text", "category": [ "TEXTS", "LAYOUTS" ], "wrapper": false, "template": "<p xattr-position=\"text-center\" style=\"font-size: var(--textNormalSize, 14px);\" class=\"text-center\" xattr-type=\"font-size: var(--textNormalSize, 14px);\">Some friendly Paragraph</p>", "properties": { "id": { "order": 1 }, "class": { "order": 9999 }, "xattr-type": { "displayName_pt_BR": "Tamanho da letra", "displayName_en_US": "Font size", "order": 3 }, "xattr-position": { "displayName_pt_BR": "Posição do texto", "displayName_en_US": "Text position" }, "ng-click": { "removable": true, "type": "event" }, "on-hold": { "removable": true, "type": "event" }, "on-double-tap": { "removable": true, "type": "event" }, "on-tap": { "removable": true, "type": "event" }, "on-swipe": { "removable": true, "type": "event" }, "on-drag": { "removable": true, "type": "event" } }, "attributesForPreview": [ { "name": "xattr-position", "type": "btngroup", "target": "class", "values": [ { "key": "text-left", "value_pt_BR": "Esquerda", "value_en_US": "Left", "icon": "mdi mdi-ray-start" }, { "key": "text-center", "value_pt_BR": "Centro", "value_en_US": "Center", "icon": "mdi mdi-ray-vertex" }, { "key": "text-right", "value_pt_BR": "Direita", "value_en_US": "Right", "icon": "mdi mdi-ray-end" } ] }, { "name": "xattr-type", "type": "options", "target": "style", "values": [ { "key": "font-size: var(--textSmallSize, 12px);", "value_pt_BR": "Pequena", "value_en_US": "Small" }, { "key": "font-size: var(--textNormalSize, 14px);", "value_pt_BR": "Padrão", "value_en_US": "Default" }, { "key": "font-size: var(--textMediumSize, 16px);", "value_pt_BR": "Média", "value_en_US": "Medium" }, { "key": "font-size: var(--textBigSize, 18px);", "value_pt_BR": "Grande", "value_en_US": "Big" }, { "key": "font-size: var(--textExtraBigSize, 23px);", "value_pt_BR": "Extra grande", "value_en_US": "Extra big" } ] } ], "childrenProperties": [ { "name": "ng-mouseover", "selector": "p", "type": "event" } ] }