cronapp-framework-mobile-js
Version:
Javascript library for CronApp's projects
62 lines • 1.68 kB
JSON
{
"name": "crn-item-swipe",
"text_pt_BR": "Item com deslizar",
"text_en_US": "Swipe Item",
"image": "/node_modules/cronapp-framework-mobile-js/img/cron-icon/crn-item-swipe.svg",
"description": "Cartão com ação de deslizamento e exibição de botões",
"description_en_US": "Card with sliding action and display of buttons",
"category": [
"LISTS"
],
"wrapper": true,
"forcedGroup": true,
"templateURL": "src/main/mobileapp/www/node_modules/cronapp-framework-mobile-js/dist/components/templates/item.swipe.template.html",
"properties": {
"ng-click": {
"type": "event"
},
"id": {
"order": 1
}
},
"handleRules": {
"canIncrement": true,
"rules": [
{
"sourceHTML": "<ion-option-button class=\"button-default button\" data-component=\"crn-button\"><i class=\"ion ion-home\"></i><span>Home</span></ion-option-button>",
"targetSelector": ".crn-item-options"
}
]
},
"childrenProperties": [
{
"name": "content",
"selector": "h2",
"displayName_pt_BR": "Título",
"displayName_en_US": "Title",
"type": "text"
}
],
"styles": [
{
"selector": "div#{id} .item-content, div#{id} .item",
"text_pt_BR": "Plano de fundo",
"text_en_US": "Background"
},
{
"selector": "div#{id} h2",
"text_pt_BR": "Título",
"text_en_US": "Title"
},
{
"selector": "div#{id} .editButton",
"text_pt_BR": "Botão de Editar",
"text_en_US": "Edit Button"
},
{
"selector": "div#{id} .deleteButton",
"text_pt_BR": "Botão de Excluir",
"text_en_US": "Delete Button"
}
]
}