API
API
Classes
PivotInspectorViewImpl

PivotInspectorViewImpl

Pivot inspector view.

Properties

height: number (opens in a new tab)

height

default: undefined

model: PivotInspector readonly

Inspector Model

default: undefined

visible: boolean (opens in a new tab) readonly

visible

default: undefined

width: number (opens in a new tab)

width

default: undefined

x: number (opens in a new tab)

x

default: undefined

y: number (opens in a new tab)

y

default: undefined

Methods

clearSplitGhostResize(): void (opens in a new tab)

스플리터 고스트 리사이즈 종료

close(): void (opens in a new tab)

모달 인스펙터 닫기

computeDockSide(b, parentW): 'left' | 'right'

bounds가 좌/우 모서리에 닿으면 해당 side, 아니면 null. UndockTracker 등 외부 드래그 트래커가 dock 전환을 판정할 때 재사용한다.

ParameterType
bIRect
parentWnumber (opens in a new tab)

dispose(): null

객체를 해제하고 null을 반환한다.
사용 예: this._obj = this._obj.dispose();

return null

open(): void (opens in a new tab)

모달 인스펙터 열기

removeDockPreview(ghost): void (opens in a new tab)

dock preview ghost 제거.

ParameterType
ghostHTMLDivElement (opens in a new tab)

setFloatBounds(bounds): this

Floating 모드일 때 위치/크기 적용. control 좌표계 기준. 도킹 폭(view.width)을 손상시키지 않도록 dom style만 조작한다.

ParameterType
boundsIRect

setPosition(position): this

Inspector 배치 위치 설정. 'left' | 'right' (docked) | 'float' (자유 이동/리사이즈).

ParameterType
positionany (opens in a new tab)

startSplitGhostResize(startWidth): void (opens in a new tab)

스플리터 고스트 리사이즈 시작

ParameterType
startWidthnumber (opens in a new tab)

updateDockPreview(doc, ghost, side, parentW, parentH): HTMLDivElement (opens in a new tab)

dock preview ghost를 side에 맞춰 갱신/제거하고 현재 ghost를 반환한다.

ParameterType
docDocument (opens in a new tab)
ghostHTMLDivElement (opens in a new tab)
side'left' | 'right'
parentWnumber (opens in a new tab)
parentHnumber (opens in a new tab)

updateSplitGhostResize(previewWidth): void (opens in a new tab)

스플리터 고스트 리사이즈 갱신

ParameterType
previewWidthnumber (opens in a new tab)