Last change
on this file since 529 was
483,
checked in by hendrikvanantwerpen, 11 years ago
|
Added Dojo 1.9.3 release.
|
File size:
702 bytes
|
Line | |
---|
1 | define(["dojo/_base/declare", "dojo/dom-geometry", "dojo/dom-style", "dojo/parser", "dijit/_WidgetBase", "dijit/_TemplatedMixin"], |
---|
2 | function(declare, geometry, style, parser, _WidgetBase, _TemplatedMixin){ |
---|
3 | |
---|
4 | return declare("dojox.widget._PagerItem", |
---|
5 | [_WidgetBase, _TemplatedMixin], |
---|
6 | { |
---|
7 | |
---|
8 | templateString: '<li class="pagerItem" data-dojo-attach-point="containerNode"></li>', |
---|
9 | |
---|
10 | resizeChildren: function(){ |
---|
11 | var box = geometry.getMarginBox(this.containerNode); |
---|
12 | style.set(this.containerNode.firstChild, { |
---|
13 | width: box.w +'px', |
---|
14 | height: box.h + 'px' |
---|
15 | }); |
---|
16 | }, |
---|
17 | |
---|
18 | parseChildren: function(){ |
---|
19 | parser.parse(this.containerNode); |
---|
20 | } |
---|
21 | }); |
---|
22 | |
---|
23 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.