playcanvas
Version:
PlayCanvas WebGL game engine
36 lines (35 loc) • 810 B
TypeScript
/**
* Content does not scroll any further than its bounds.
*
* @type {number}
* @category User Interface
*/
export const SCROLL_MODE_CLAMP: number;
/**
* Content scrolls past its bounds and then gently bounces back.
*
* @type {number}
* @category User Interface
*/
export const SCROLL_MODE_BOUNCE: number;
/**
* Content can scroll forever.
*
* @type {number}
* @category User Interface
*/
export const SCROLL_MODE_INFINITE: number;
/**
* The scrollbar will be visible all the time.
*
* @type {number}
* @category User Interface
*/
export const SCROLLBAR_VISIBILITY_SHOW_ALWAYS: number;
/**
* The scrollbar will be visible only when content exceeds the size of the viewport.
*
* @type {number}
* @category User Interface
*/
export const SCROLLBAR_VISIBILITY_SHOW_WHEN_REQUIRED: number;