构造函数

属性

bringWindowToFrontOnClick: boolean = true

When click the window, brings to front automatically.

点击窗口时自动将其置于前面。

clickDragSensitivity: number = 2

Pixel offsets of mouse pointer to trigger dragging.

鼠标指针触发拖动的像素偏移量。

defaultComboBoxVisibleItemCount: number = 20

Max items displayed in combobox without scrolling.

下拉框中不滚动时显示的最大项目数。

defaultScrollBarDisplay: number = ScrollBarDisplay.Always

Default scrollbar display mode. Recommened visible for Desktop and Auto for mobile.

默认滚动条显示模式。推荐桌面使用Visible,移动端使用Auto。

defaultScrollBounceEffect: boolean = true

The "rebound" effect in the scolling container. Recommeded true for mobile.

滚动容器中的“回弹”效果。推荐在移动端使用true。

defaultScrollDecelerationRate: number = 0.967

Deceleration ratio of scrollview when its in touch dragging.

滚动视图在触摸拖动时的减速比率。

defaultScrollPagingThreshold: number = 0.3

When the scroll container is set to "page mode", this is the threshold for determining which page to scroll to.

当滚动容器设置为“页面模式”时,判定翻到哪一页的滚动距离阀值。

defaultScrollSnappingThreshold: number = 0.1

When the scroll container is set to "snap to item", this is the threshold for determining which item to snap to.

当滚动容器设置为“贴近ITEM”时,判定贴近到哪一个ITEM的滚动距离阀值。

defaultScrollStep: number = 25

Scrolling step in pixels

滚动步长(以像素为单位)

defaultScrollTouchEffect: boolean = true

Allow dragging the content to scroll. Recommeded true for mobile.

允许拖动内容进行滚动。推荐在移动端使用true。

defaultTooltipsShowDelay: number = 100

Default delay in milliseconds before showing tooltips.

显示工具提示之前的默认延迟(以毫秒为单位)。

globalModalWaiting: string

Resource using in GRoot.ShowModalWait for locking the screen.

在GRoot.ShowModalWait中使用的资源,用于锁定屏幕。

horizontalScrollBar: string = null

Default horizontal scrollbar resource.

默认水平滚动条资源。

modalLayerColor: string = "rgba(50, 50, 50, 0.2)"

When a modal window is in front, the background becomes dark.

当模态窗口在前面时,背景变暗。

popupMenu: string = null

Resources for PopupMenu.

弹出菜单的资源。

popupMenuSeperator: string = null

Resources for seperator of PopupMenu.

弹出菜单分隔符的资源。

tooltipsWidget: string = null

Resources for tooltips.

工具提示的资源。

touchDragSensitivity: number = 10

Pixel offsets of finger to trigger dragging.

触发拖动的手指像素偏移量。

touchScrollSensitivity: number = 10

Pixel offsets of finger to trigger scrolling.

触发滚动的手指像素偏移量。

verticalScrollBar: string = null

Default horizontal scrollbar resource.

默认水平滚动条资源。

windowModalWaiting: string

Resource using in Window.ShowModalWait for locking the window.

在Window.ShowModalWait中使用的资源,用于锁定窗口。