import template from './sw-cms-el-bc-instagram-widget.html.twig';
import './sw-cms-el-bc-instagram-widget.scss';

Shopware.Component.register('sw-cms-el-bc-instagram-widget', {
    template,

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

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