import {Component} from '@angular/core';

import {CdDemoComponent} from '../../abstract/CdDemoComponent';


@Component({
    template: `
        <section class="cd-content-section vertical-flex-container">
            <h4 i18n>Эффект Touch Scroll</h4>

            <div class="flex-grow-1 overflow-auto"
                 touchScroller
            >
                <img src="https://loremflickr.com/1200/675" alt="random image" draggable="false" />
            </div>
        </section>
    `,
    styles: [`
        img {
            width: 200%;
            height: 200%;
            object-fit: cover;
        }
    `]
})
export class CdTouchScrollerDemoComponent extends CdDemoComponent {

}
