Ticket #174 (closed enhancement: fixed)
all dojoAttachPoint to point to an array
| Reported by: | david | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Widgets | Version: | 0.1 |
| Severity: | normal | Keywords: | attach |
| Cc: |
Description
It'd be nice if you could have dojoAttachPoints reference arrays. For example, *in markup*:
<div dojoAttachPoint="foo" ...>...</div>
And *in the widget*:
this.foo = [];
this.fillInTemplate = function() {
for(var i = 0; i < this.foo.length; i++) {
// do something with each node
}
// ...
}
Change History
Note: See
TracTickets for help on using
tickets.