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

Добавить кастомный id для табов #19

Open
belozer opened this issue Mar 9, 2018 · 0 comments
Open

Добавить кастомный id для табов #19

belozer opened this issue Mar 9, 2018 · 0 comments

Comments

@belozer
Copy link
Contributor

belozer commented Mar 9, 2018

Сейчас табы "нумеруются" по индексу. Хорошо бы добавить поле id или val для табов.

{
    block : 'tabs',
    tabs : [
        { id : '3423fsdfs', title : 'Tab 1', content : 1 },
        { id : '3ss3fsdfs', title : 'Tab 2', content : 1 }
    ]
};

Если не указан id(val), то брать уже индекс.

Полезно для установки нужного таба из js.

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

1 participant