컴포넌트의 position 속성값을 반환하는 API이다.
Type | Description |
---|---|
short | 컴포넌트 position 속성값 |
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);
}
}