chromium/third_party/polymer/v3_0/components-chromium/iron-overlay-behavior/iron-scroll-manager.d.ts

/**
 * DO NOT EDIT
 *
 * This file was automatically generated by
 *   https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
 *
 * To modify these typings, edit the source file(s):
 *   iron-scroll-manager.js
 */

import {dom} from '../polymer/lib/legacy/polymer.dom.js';

export {elementIsScrollLocked};


/**
 * Returns true if the provided element is "scroll locked", which is to
 * say that it cannot be scrolled via pointer or keyboard interactions.
 */
declare function elementIsScrollLocked(element: HTMLElement): any;

export {pushScrollLock};


/**
 * Push an element onto the current scroll lock stack. The most recently
 * pushed element and its children will be considered scrollable. All
 * other elements will not be scrollable.
 *
 * Scroll locking is implemented as a stack so that cases such as
 * dropdowns within dropdowns are handled well.
 */
declare function pushScrollLock(element: HTMLElement): void;

export {removeScrollLock};


/**
 * Remove an element from the scroll lock stack. The element being
 * removed does not need to be the most recently pushed element. However,
 * the scroll lock constraints only change when the most recently pushed
 * element is removed.
 */
declare function removeScrollLock(element: HTMLElement): void;

export {_hasCachedLockedElement};

declare function _hasCachedLockedElement(): any;

export {_hasCachedUnlockedElement};

declare function _hasCachedUnlockedElement(): any;

export {_composedTreeContains};

declare function _composedTreeContains(): any;

export {_scrollInteractionHandler};

declare function _scrollInteractionHandler(): void;

export {_lockScrollInteractions};

declare function _lockScrollInteractions(): void;

export {_unlockScrollInteractions};

declare function _unlockScrollInteractions(): void;