Browse Source

Organizing some settings objects

pull/1177/head
jlukic 10 years ago
parent
commit
ef0945fe4e
2 changed files with 14 additions and 11 deletions
  1. 2
      src/definitions/modules/dimmer.js
  2. 23
      src/definitions/modules/dropdown.js

2
src/definitions/modules/dimmer.js

@ -547,10 +547,10 @@ $.fn.dimmer.settings = {
verbose : true,
performance : true,
closable : true,
transition : 'fade',
useCSS : true,
on : false,
closable : true,
duration : {
show : 500,

23
src/definitions/modules/dropdown.js

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

Loading…
Cancel
Save