This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(protractor): new API allowAnimations(bool) on protractor elements.
- Loading branch information
Showing
11 changed files
with
119 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#animationTop .animate-if { | ||
background:white; | ||
border:1px solid black; | ||
padding:10px; | ||
} | ||
|
||
#animationTop .animate-if.ng-enter, | ||
#animationTop .animate-if.ng-leave { | ||
-webkit-transition:all linear 1s; | ||
-moz-transition:all linear 1s; | ||
-o-transition:all linear 1s; | ||
transition:all linear 1s; | ||
|
||
} | ||
|
||
#animationTop .animate-if.ng-enter, | ||
#animationTop .animate-if.ng-leave.ng-leave-active { | ||
opacity:0; | ||
} | ||
|
||
#animationTop .animate-if.ng-leave, | ||
#animationTop .animate-if.ng-enter.ng-enter-active { | ||
opacity:1; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- https://docs.angularjs.org/guide/animations --> | ||
<div id="animationTop"> | ||
<label> | ||
<input id="checkbox" type="checkbox" ng-model="checked" style="float:left; margin-right:10px;"> | ||
Click Me to toggle with animation | ||
</label> | ||
<div id="toggledNode" class="animate-if" ng-if="checked" style="clear:both;"> | ||
I exist! | ||
</div> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
function AnimationCtrl($scope) { | ||
$scope.checked = true; | ||
}; | ||
|
||
AnimationCtrl.$inject = ['$scope']; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.