cronapp-framework-mobile-js
Version:
Javascript library for CronApp's projects
65 lines (64 loc) • 1.67 kB
JSON
{
"name": "crn-button-bar",
"text_pt_BR": "Barra de botões",
"text_en_US": "Button Bar",
"image": "/node_modules/cronapp-framework-mobile-js/img/cron-icon/crn-button-bar.svg",
"description": "Botões alinhados na vertical",
"description_en_US": "Botões alinhados na vertical",
"category": [
"BUTTONS"
],
"templateURL": "src/main/mobileapp/www/node_modules/cronapp-framework-mobile-js/dist/components/templates/button-bar.template.html",
"forcedGroup": true,
"properties": {
"class": {
"order": 9999
},
"id": {
"order": 1
}
},
"handleRules": {
"canIncrement": true,
"rules": [
{
"sourceHTML": "<button class=\"component-holder button button-dark button-block\" data-component=\"crn-button\"type=\"submit\" ng-click=\"\" xattr-size=\"\" xattr-type=\"\" xattr-theme=\"button-positive\" xattr-fullsize=\"button-block\"><i class=\"icon ion-home icon-left\"></i><span> Button</span></button>",
"targetSelector": ".button-bar"
}
]
},
"styles": [
{
"selector": "div#{id} button",
"text_pt_BR": "Botão",
"text_en_US": "Button"
},
{
"selector": "div#{id} i",
"text_pt_BR": "Ícone",
"text_en_US": "Icon"
},
{
"selector": "div#{id} span",
"text_pt_BR": "Descrição",
"text_en_US": "Description"
}
],
"childrenProperties": [
{
"name": "on-hold",
"selector": "button",
"type": "event"
},
{
"name": "on-drag",
"selector": "button",
"type": "event"
},
{
"name": "on-swipe",
"selector": "button",
"type": "event"
}
]
}