Opened 10 years ago
Closed 10 years ago
#15171 closed enhancement (fixed)
dojox.mvc API suggestions
Reported by: | Ed Chatelain | Owned by: | Ed Chatelain |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8 |
Component: | DojoX MVC | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
We have received the following dojox.mvc API suggestions. Change attach() -> transform(), there seems to be agreement on this change. Another suggestion was to change direct() to setDirection(). Which I also think makes sense.
Attachments (1)
Change History (4)
comment:1 Changed 10 years ago by
Milestone: | tbd → 1.8 |
---|---|
Status: | new → assigned |
comment:2 Changed 10 years ago by
Well I got feedback not liking setDirection(), so I will change it to .direction(), and I will change the property being used in at and sync to be bindDirection. So now would change to: <input id="totalHousing" data-dojo-type="dijit.form.NumberTextBox??"
data-dojo-props="value: at('rel:', 'TotalHousing??'),
disabled: at('rel:','TotalHousing??').direction(at.from).transform(nonZeroRelevanceConverter)"/>
Changed 10 years ago by
Attachment: | mvc-api-15171.patch added |
---|
Updates to change attach() to transform() and direct() to direction() along with a lot of testcase updates for this and for the global at() change.
So for an example, this: <input id="totalHousing" data-dojo-type="dijit.form.NumberTextBox?"
Would change to: <input id="totalHousing" data-dojo-type="dijit.form.NumberTextBox?"