UNPKG

ngx-slight-scroll

Version:

The CSS scrollbars styling module defines properties that you can use for visual styling of scrollbars. You can customize the width of the scrollbar as required.

28 lines (24 loc) 1.47 kB
import * as i0 from '@angular/core'; import { AfterViewInit, EventEmitter, ElementRef } from '@angular/core'; declare class NgxSlightScrollService { constructor(); static ɵfac: i0.ɵɵFactoryDeclaration<NgxSlightScrollService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgxSlightScrollService>; } declare class NgxSlightScrollDirective implements AfterViewInit { private el; maxHeight: string; minHeight: string; scrollBg: string; scrollThumbBg: string; scrollThumbRadius: number; scrollWidth: number; scrollBorder: boolean; scrollEndEvent: EventEmitter<any>; element: HTMLElement; constructor(el: ElementRef); ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxSlightScrollDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgxSlightScrollDirective, "[ngxSlimScroll]", never, { "maxHeight": { "alias": "maxHeight"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "scrollBg": { "alias": "scrollBg"; "required": false; }; "scrollThumbBg": { "alias": "scrollThumbBg"; "required": false; }; "scrollThumbRadius": { "alias": "scrollThumbRadius"; "required": false; }; "scrollWidth": { "alias": "scrollWidth"; "required": false; }; "scrollBorder": { "alias": "scrollBorder"; "required": false; }; }, { "scrollEndEvent": "scrollEndEvent"; }, never, never, true, never>; } export { NgxSlightScrollDirective, NgxSlightScrollService };