How to use the card.width function in card

To help you get started, we’ve selected a few card examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / PowerBI-visuals-CardBrowser / lib / @uncharted / cards / src / components / wrappedCardsView / wrappedCardsView.js View on Github external
render() {
        this.$element = $(wrappedCardsViewTemplate({
            cardWidth: this._config['card.width'],
        }));
        this._$cardsContainer = this.$element.find('.cards-container');
        this._$dummyCards = this.$element.find('.dummy-card');
        this.verticalReader.render();
        this._registerDomEvents();
        return this.$element;
    }