{
    "key": "bs-listgroup",
    "name": "$string.bslistgroup_name",
    "category": "bootstrap",
    "icon": "fa fa-list",
    "instructions": "$string.bslistgroup_instructions",
    "engine": "ejs",
    "template": "<ul class=\"list-group\">\n  <% for(var i=1; i<=n; i++) { %>\n  <li class=\"list-group-item d-flex justify-content-between align-items-center\">\n    Item <%= i %>\n    <% if(badges){ %><span class=\"badge badge-primary badge-pill\"><%= i %></span><% } %>\n  </li>\n  <% } %>\n</ul>\n<p><br></p>\n",
    "selectors": "ul.list-group",
    "parameters": [
        {
            "name": "n",
            "title": "$string.bslistgroup_number",
            "min": 1,
            "value": 3
        },
        {
            "name": "badges",
            "title": "$string.bslistgroup_badges",
            "value": false
        }
    ],
    "contextmenu": [
        {
            "predicate": "li.list-group-item",
            "actions": "moveup movedown insertafter | remove"
        }
    ],
    "author": "Josep Mulet <pep.mulet@gmail.com>",
    "version": "2.0.1"
}