Toilet seat CSS animation

This commit is contained in:
Max Lynch
2013-10-25 16:29:56 -05:00
parent 0f883f088f
commit a7c7fe1523
2 changed files with 10 additions and 2 deletions

6
dist/js/ionic.js vendored
View File

@ -2486,7 +2486,11 @@ window.ionic = {
var EASING_FUNCTIONS = {
quadratic: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',
circular: 'cubic-bezier(0.1, 0.57, 0.1, 1)',
circular2: 'cubic-bezier(0.075, 0.82, 0.165, 1)'
circular2: 'cubic-bezier(0.075, 0.82, 0.165, 1)',
// It closes like a high-end toilet seat. Fast, then nice and slow.
// Thanks to our @xtheglobe for that.
toiletSeat: 'cubic-bezier(0.05, 0.60, 0.05, 0.60)'
};
ionic.views.ScrollView = function(opts) {

View File

@ -3,7 +3,11 @@
var EASING_FUNCTIONS = {
quadratic: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',
circular: 'cubic-bezier(0.1, 0.57, 0.1, 1)',
circular2: 'cubic-bezier(0.075, 0.82, 0.165, 1)'
circular2: 'cubic-bezier(0.075, 0.82, 0.165, 1)',
// It closes like a high-end toilet seat. Fast, then nice and slow.
// Thanks to our @xtheglobe for that.
toiletSeat: 'cubic-bezier(0.05, 0.60, 0.05, 0.60)'
};
ionic.views.ScrollView = function(opts) {