You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
593 B
23 lines
593 B
define([ |
|
"dojo/_base/declare", |
|
"dojo/query", |
|
// TODO: FisheyeLite still needs AMD conversion |
|
"./FisheyeLite" |
|
], function(declare, query, FisheyeLite) { |
|
|
|
return declare("dojox.widget._FisheyeFX", null, { |
|
// summary: |
|
// A mixin to add a FisheyeLite effect to the calendar |
|
addFx: function(theQuery, fromNode) { |
|
//Use the query and base node passed from the calendar view mixin |
|
//to select the nodes to attach the event to. |
|
query(theQuery, fromNode).forEach(function(node){ |
|
new FisheyeLite({ |
|
properties: { |
|
fontSize: 1.1 |
|
} |
|
}, node); |
|
}); |
|
} |
|
}); |
|
});
|
|
|