화면 » Api

browserhistorycurrstate

Description

브라우저 History 현재 위치와 관련된 state 오브젝트를 반환한다

Return Value

Type Description
INSTANCE 브라우저 현재 히스토리와 관련된 state 오브젝트

Remark

state 오브젝트 정보가 없는 경우에는 null 또는 공백문자열 또는 undefined 값이 반환된다.

Example

function btn_test() { var history_length, curr_state; history_length = screen.browserhistorylength(); factory.consoleprint("history_length = " + history_length); curr_state = screen.browserhistorycurrstate(); if (history_length > 1) { screen.browserhistorygo(-1); // 한번 뒤로 이동 } }

See Also

browserhistorygo
browserhistorylength

Viewer Ver.

9.1.1.1

Update Date

20220511