트리뷰 » Api

getposition

Description

컴포넌트의 position 속성값을 반환하는 API이다.

Return Value

Type Description
short 컴포넌트 position 속성값

Example

function btn_on_mouseup() { var position; // 0: absolute, 1:relative position = tab_leftmenu.getposition(); if (position == 0) { tab_leftmenu.setposition(1); } else { tab_leftmenu.setposition(0); } }

See Also

setposition

Viewer Ver.

9.1.1.1

Update Date

20211027