/*! * devextreme-angular * Version: 19.1.16 * Build date: Tue Oct 18 2022 * * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ import { TransferState } from '@angular/platform-browser'; import { ElementRef, NgZone, OnDestroy, EventEmitter } from '@angular/core'; import DxScrollView from 'devextreme/ui/scroll_view'; import { DxComponent } from '../core/component'; import { DxTemplateHost } from '../core/template-host'; import { NestedOptionHost } from '../core/nested-option'; import { WatcherHelper } from '../core/watcher-helper'; /** * The ScrollView is a widget that enables a user to scroll its content. */ export declare class DxScrollViewComponent extends DxComponent implements OnDestroy { instance: DxScrollView; /** * A Boolean value specifying whether to enable or disable the bounce-back effect. */ bounceEnabled: boolean; /** * A string value specifying the available scrolling directions. */ direction: string; /** * A Boolean value specifying whether or not the widget can respond to user interaction. */ disabled: boolean; /** * Specifies the attributes to be attached to the widget's root element. */ elementAttr: any; /** * Specifies the widget's height. */ height: number | Function | string; /** * Specifies the text shown in the pullDown panel when pulling the content down lowers the refresh threshold. */ pulledDownText: string; /** * Specifies the text shown in the pullDown panel while pulling the content down to the refresh threshold. */ pullingDownText: string; /** * Specifies the text shown in the pullDown panel displayed when content is scrolled to the bottom. */ reachBottomText: string; /** * Specifies the text shown in the pullDown panel displayed when the content is being refreshed. */ refreshingText: string; /** * Switches the widget to a right-to-left representation. */ rtlEnabled: boolean; /** * A Boolean value specifying whether or not an end-user can scroll the widget content swiping it up or down. Applies only if useNative is false */ scrollByContent: boolean; /** * A Boolean value specifying whether or not an end-user can scroll the widget content using the scrollbar. */ scrollByThumb: boolean; /** * Specifies when the widget shows the scrollbar. */ showScrollbar: string; /** * Indicates whether to use native or simulated scrolling. */ useNative: boolean; /** * Specifies the widget's width. */ width: number | Function | string; /** * A function that is executed before the widget is disposed of. */ onDisposing: EventEmitter; /** * A function used in JavaScript frameworks to save the widget instance. */ onInitialized: EventEmitter; /** * A function that is executed after a widget option is changed. */ onOptionChanged: EventEmitter; /** * A function that is executed when the "pull to refresh" gesture is performed. Supported in mobile themes only. */ onPullDown: EventEmitter; /** * A function that is executed when the content is scrolled down to the bottom. */ onReachBottom: EventEmitter; /** * A function that is executed on each scroll gesture. */ onScroll: EventEmitter; /** * A function that is executed each time the widget is updated. */ onUpdated: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ bounceEnabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ directionChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ disabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ elementAttrChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ heightChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ pulledDownTextChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ pullingDownTextChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ reachBottomTextChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ refreshingTextChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ rtlEnabledChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ scrollByContentChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ scrollByThumbChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ showScrollbarChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ useNativeChange: EventEmitter; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ widthChange: EventEmitter; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, _watcherHelper: WatcherHelper, optionHost: NestedOptionHost, transferState: TransferState, platformId: any); protected _createInstance(element: any, options: any): DxScrollView; ngOnDestroy(): void; } export declare class DxScrollViewModule { }