Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#3684 closed defect (fixed)

Slider: support labels as inline html

Reported by: bill Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Support slider labels as inline HTML (for declarative markup), like:

<ul dojoType=...>
   <li> 0%
   <li> 10%
   <li> 20%
</ul>

Code should be pretty simple, something like:

if(!this.labels.length){
   labels=
dojo.query("*", this.srcNodeRef).map(function(node){return node.innerHTML;});
}
this.srcNodeRef.innerHTML="";

Change History (5)

comment:1 Changed 12 years ago by bill

Owner: changed from bill to Douglas Hays

comment:2 Changed 12 years ago by bill

Owner: changed from Douglas Hays to bill
Status: newassigned

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [9692]) Specify labels as inline HTML rather than as attributes. Fixes #3684.

comment:4 Changed 12 years ago by bill

(In [9693]) Fancy HTML inline label example. Refs #3684.

comment:5 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.