API
API
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)