Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

활성 탭 찾는법 #43

Open
FusionPark opened this issue Apr 11, 2017 · 4 comments
Open

활성 탭 찾는법 #43

FusionPark opened this issue Apr 11, 2017 · 4 comments

Comments

@FusionPark
Copy link

환경

  1. 버전확인을 어떻게 해야할지...
    (4월 10일에 올라온 최신 framework입니다)
  2. window 10/ chrome, Visual Studio2015

안녕하세요.. 너무 너무 잘 사용하고있습니다.
어제 올려주신 test 폴더의 예제 html로 tabOpen 도 해결했는데요..
지금 현재 활성화되어 있는 탭을 알아 오는것이 힘드네요.
관련 함수 좀 알수 있을까요?

@thomasJang
Copy link
Member

ax5ui-layout에 활성화된 탭을 찾는 메소드를 추가하고 샘플코드를 추가 했습니다.
http://ax5.io/ax5ui-layout/demo/tab-panel.html

도움이 되셨다면
https://github.com/axboot/ax-boot-framework/stargazers
https://github.com/ax5ui/ax5ui-kernel/stargazers
에 각각 방문해서 Star 눌러주세요.

@FusionPark
Copy link
Author

정말 감사합니다

@FusionPark
Copy link
Author

추가 해주신 함수로 제가 해봤는데요 도저히 그 alert에 나오는 내용으로는 어떤 탭인지 알 방법이 없는대요..
어떻게 활용해야할까요.. 무지한 저에게 가르침을 주시면 감사하겠습니다. 흑흑흑

@thomasJang
Copy link
Member

// select 후에
$('[data-ax5layout="ax1"]').ax5layout("getActiveTab");

//ax5layout 메소드에 인자로 "getActiveTab" 를 넘겨주면 됩니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants