source: Dev/trunk/src/client/dojox/widget/_FisheyeFX.js @ 485

Last change on this file since 485 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 593 bytes
Line 
1define([
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.