src/templates.js
function(options) {
        var extraClass = options.highlighted ? ' highlighted' : '';
        return (
            '<span class="selectivity-multiple-selected-item' +
            extraClass +
            '" ' +
            'data-item-id="' +
            escape(options.id) +
            '">' +
            (options.removable
                ? '<a class="selectivity-multiple-selected-item-remove">' +
                  '<i class="fa fa-remove"></i>' +
                  '</a>'
                : '') +
            escape(options.text) +
            '</span>'
        );
    }
function(options) {
        var extraClass = options.highlighted ? ' highlighted' : '';
        return (
            '<span class="selectivity-multiple-selected-item' +
            extraClass +
            '" ' +
            'data-item-id="' +
            escape(options.id) +
            '">' +
            (options.removable
                ? '<a class="selectivity-multiple-selected-item-remove">' +
                  '<i class="fa fa-remove"></i>' +
                  '</a>'
                : '') +
            escape(options.text) +
            '</span>'
        );
    }
function ( options ) { var extraClass = options . highlighted ? ' highlighted' : '' ; return ( '<span class="selectivity-multiple-selected-item' + extraClass + '" ' + 'data-item-id="' + escape ( options . id ) + '">' + ( options . removable ? '<a class="selectivity-multiple-selected-item-remove">' + '<i class="fa fa-remove"></i>' + '</a>' : '' ) + escape ( options . text ) + '</span>' ) ; }
Renders a selected item in multi-selection input boxes.

The template is expected to have a top-level element with the class
'selectivity-multiple-selected-item'. This element is also required to have a 'data-item-id'
attribute with the ID set to that passed through the options object.

An element with the class 'selectivity-multiple-selected-item-remove' should be present
which, when clicked, will cause the element to be removed.

@param options Options object containing the following properties:
highlighted - Boolean whether this item is currently highlighted.
id - Identifier for the item.
removable - Boolean whether a remove icon should be displayed.
text - Text label which the user sees.
Renders a selected item in multi - selection input boxes .