import template from './sw-cms-el-bc-showcase-banner.html.twig';
import './sw-cms-el-bc-showcase-banner.scss';

Shopware.Component.register('sw-cms-el-bc-showcase-banner', {
    template,

    mixins: [
        Shopware.Mixin.getByName('cms-element'),
        Shopware.Mixin.getByName('placeholder')
    ],
    created() {
        this.createdComponent();
    },

    methods: {
        createdComponent() {
            this.initElementConfig('bc-showcase-banner');
            this.initElementData('bc-showcase-banner');
        }
    },
    computed: {
        assetFilter() {
            return Shopware.Filter.getByName('asset');
        },
    }
});