{"repo":"bfwg/ngx-drag-scroll","free":true,"listed":false,"github":"https://github.com/bfwg/ngx-drag-scroll","clone":"git clone https://github.com/bfwg/ngx-drag-scroll.git","description":"A lightweight responsive Angular carousel library","language":"TypeScript","stars":345,"topics":["drag","carousel","angular","typescript","javascript","angular7"],"license":"MIT","category":"ui-components","readme_excerpt":"Angular Draggable Carousel Lightweight drag to scroll carousel for Angular Maintainers wanted Scroll on drag! Try out the demo! Install You can get it on npm. Requirements This project needs Angular 5+ as dependencies though. Setup Our component and directive are standalone now! You'll need to import DragScrollComponent and/or DragScrollItemDirective to your application module or component. Module: Component: Add the drag-scroll attribute to a scrollable element: That's it! Now you can scroll it by dragging. If you want to group items into a carousel, you will need to add drag-scroll-item to the carsousel items. API REFERENCE DragScrollComponent Name Type Description Default ---------------------- ------- -------------------------------------------------------------------- ------- scrollbar-hidden @Input Whether the scroll bar for this element is hidden. false drag-scroll-disabled @Input Whether all draging and scrolling events is disabled. false drag-scroll-x-disabled @Input Whether horizontally dragging and scrolling events is disabled. false scroll-x-wheel-enabled @Input Whether scrolling horizontally with mouse wheel is enabled false drag-scroll-y-disabled @Input Whether vertically dragging and scrolling events is disabled. false drag-disabled @Input Whether draging is disabled. false snap-disabled @Input Whether snapping is disabled. false snap-offset @Input Pixels of previous element to show on snap or moving left and right. 0 snap-duration @Input Duration of snap anima","default_branch":null,"files":null,"tree":[],"storefront":"/r/bfwg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bfwg/ngx-drag-scroll/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}