This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tabs): adds support for non-fixed tabs
Closes #825. Closes #460. Closes #921. refactor(tabs): added handling for when the tabs are initially hidden refactor(tabs): switched to 0-based page indexes refactor(tabs): wires up pagination to use $mdMedia rather than a hard-coded pixel size In order to accomplish this, I had to move $mdMedia into its own file in the 'material.core' scope. refactor(tabs): changes per Andrew's feedback Renames `stretchTabs()` to `shouldStretchTabs()` Uses `getElementsByTagName()` in place of `querySelectorAll()` Uses cached version of `angular.element(tabs)` Adds descriptive comment for `data.page` calculation refactor(tabs): moves tabs definition to top of `postLink` method
- Loading branch information
1 parent
4ae4e07
commit 6397040
Showing
12 changed files
with
310 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.