|
@ -1276,15 +1276,7 @@ $.fn.dropdown = function(parameters) { |
|
|
|
|
|
|
|
|
$.fn.dropdown.settings = { |
|
|
$.fn.dropdown.settings = { |
|
|
|
|
|
|
|
|
name : 'Dropdown', |
|
|
|
|
|
namespace : 'dropdown', |
|
|
|
|
|
|
|
|
|
|
|
debug : false, |
|
|
|
|
|
verbose : true, |
|
|
|
|
|
performance : true, |
|
|
|
|
|
|
|
|
|
|
|
type : false, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Behavior */ |
|
|
on : 'click', |
|
|
on : 'click', |
|
|
action : 'activate', |
|
|
action : 'activate', |
|
|
|
|
|
|
|
@ -1301,10 +1293,19 @@ $.fn.dropdown.settings = { |
|
|
transition : 'slide down', |
|
|
transition : 'slide down', |
|
|
duration : 250, |
|
|
duration : 250, |
|
|
|
|
|
|
|
|
|
|
|
/* Callbacks */ |
|
|
onChange : function(value, text){}, |
|
|
onChange : function(value, text){}, |
|
|
onShow : function(){}, |
|
|
onShow : function(){}, |
|
|
onHide : function(){}, |
|
|
onHide : function(){}, |
|
|
|
|
|
|
|
|
|
|
|
/* Component */ |
|
|
|
|
|
name : 'Dropdown', |
|
|
|
|
|
namespace : 'dropdown', |
|
|
|
|
|
|
|
|
|
|
|
debug : false, |
|
|
|
|
|
verbose : true, |
|
|
|
|
|
performance : true, |
|
|
|
|
|
|
|
|
error : { |
|
|
error : { |
|
|
action : 'You called a dropdown action that was not defined', |
|
|
action : 'You called a dropdown action that was not defined', |
|
|
method : 'The method you called is not defined.', |
|
|
method : 'The method you called is not defined.', |
|
@ -1342,6 +1343,7 @@ $.fn.dropdown.settings = { |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/* Templates */ |
|
|
$.fn.dropdown.settings.templates = { |
|
|
$.fn.dropdown.settings.templates = { |
|
|
menu: function(select) { |
|
|
menu: function(select) { |
|
|
var |
|
|
var |
|
@ -1386,7 +1388,8 @@ $.fn.dropdown.settings.templates = { |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
// Adds easing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Dependencies */ |
|
|
$.extend( $.easing, { |
|
|
$.extend( $.easing, { |
|
|
easeOutQuad: function (x, t, b, c, d) { |
|
|
easeOutQuad: function (x, t, b, c, d) { |
|
|
return -c *(t/=d)*(t-2) + b; |
|
|
return -c *(t/=d)*(t-2) + b; |
|
|