toggleInlineDisplayMode()

in lib/@uncharted/cards/src/components/cards/cards.js [140:150]


    toggleInlineDisplayMode(state) {
        this.closeReader();
        this.inlineMode = state === undefined ? !this.inlineMode : state;
        this.cardInstances.forEach(card => {
            card.$element && card.$element.remove() && (card.$element = undefined);
            card._config['card.height'] = this.inlineMode ? null : this._config['card.height'];
        });
        this.inlineMode
            ? this.$element.html(this.inlineCardsView.render()) && this.inlineCardsView.updateCardInstances(this.cardInstances)
            : this.$element.html(this.wrappedCardsView.clearCards()) && this.wrappedCardsView.renderMoreCards(this.cardInstances);
    }