dist/adaptive-html.es.js
function wrap(elements, options) {
    elements = toArray(elements);
    /* Don't wrap only a container in a container */
    if (elements.length === 1 && isContainer(elements[0])) {
        return elements[0];
    }
    var container = {
        type: cardTypes.container,
        items: elements
    };
    setOptions(container, options);
    return container;
}
function wrap(elements, options) {
    elements = toArray(elements);
    /* Don't wrap only a container in a container */
    if (elements.length === 1 && isContainer(elements[0])) {
        return elements[0];
    }
    var container = {
        type: cardTypes.container,
        items: elements
    };
    setOptions(container, options);
    return container;
}
function wrap ( elements , options ) { elements = toArray ( elements ) ; /* Don't wrap only a container in a container */ if ( elements . length === 1 && isContainer ( elements [ 0 ] ) ) { return elements [ 0 ] ; } var container = { type : cardTypes . container , items : elements } ; setOptions ( container , options ) ; return container ; }
Wrap adaptive card elements in a container
Wrap adaptive card elements in a container