Param

Method

Event

 

 

GetActiveTabv3.0 or higher

현재 활성화된 탭의 번호를 얻어옵니다.

 

Return Values

0

편집(Edit) 탭

1

HTML 탭

2

미리보기(Preview) 탭

 

Sample Codes

var CrossEditor = new NamoSE("test");
CrossEditor.EditorStart();

function OnInitCompleted(e) {
   var info = CrossEditor.GetActiveTab();
   alert(info);
}

 

See Also

ActiveTab  SetActiveTab