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

Could this plugin can support original bootstrap tabs? #62

Open
shauvet opened this issue May 12, 2017 · 1 comment
Open

Could this plugin can support original bootstrap tabs? #62

shauvet opened this issue May 12, 2017 · 1 comment

Comments

@shauvet
Copy link

shauvet commented May 12, 2017

Since old project habits, now it is like this
<ul class="nav nav-tabs"> <li ng-repeat="x in vm.tabs" ng-click="vm.checkOneTab(x,$index)" ng-class="{active:vm.index == $index}"> <a class="text-center" href="" data-toggle="tab">{{x.name}}</a> </li> </ul>
then I wrap it with but nothing happen, no error hint...

could anyone help? or what should i do can fix this?

@shauvet
Copy link
Author

shauvet commented May 15, 2017

var tabScope = angular.element(tab).isolateScope(); //push new field to use as title in the drop down. tabScope.tabScrollTitle = heading ? heading : tab.textContent.trim();
the tabScope is undefined.so the browser report an error 'Cannot set property 'tabScrollTitle' of undefined' How could i can fix this?!

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