Rev | Line | |
---|
[483] | 1 | define([ |
---|
| 2 | "dojo/_base/declare", |
---|
| 3 | "dojo/query", |
---|
| 4 | // TODO: FisheyeLite still needs AMD conversion |
---|
| 5 | "./FisheyeLite" |
---|
| 6 | ], function(declare, query, FisheyeLite) { |
---|
| 7 | |
---|
| 8 | return declare("dojox.widget._FisheyeFX", null, { |
---|
| 9 | // summary: |
---|
| 10 | // A mixin to add a FisheyeLite effect to the calendar |
---|
| 11 | addFx: function(theQuery, fromNode) { |
---|
| 12 | //Use the query and base node passed from the calendar view mixin |
---|
| 13 | //to select the nodes to attach the event to. |
---|
| 14 | query(theQuery, fromNode).forEach(function(node){ |
---|
| 15 | new FisheyeLite({ |
---|
| 16 | properties: { |
---|
| 17 | fontSize: 1.1 |
---|
| 18 | } |
---|
| 19 | }, node); |
---|
| 20 | }); |
---|
| 21 | } |
---|
| 22 | }); |
---|
| 23 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.