Skip to content

DragScrollDirective

directive

Directive for adding drag scroll behaviour to a container element. Elements that overlow will then be ‘scrollable’ by dragging the list of children.

Example :

<div yuvDragScroll>
<div class="tile">#1</div>
<div class="tile">#2</div>
<div class="tile">#3</div>
...
</div>

Selector: [yuvDragScroll]

Standalone: No

Implements: AfterViewInit