Lines Matching defs:label
205 * @default {label: 'My label', resetStr: 'Reset', tooltipHandle: 'Drag to set value'}
248 label : makeClassName("label"),
249 labelString : makeClassName("label-string"),
270 * template that will contain the Dial's label.
274 * @default <div class="[...-label]"><span id="" class="[...-label-string]">{label}</span><span class="[...-value-string]"></span></div>
278 Dial.LABEL_TEMPLATE = '<div class="' + Dial.CSS_CLASSES.label + '"><span id="" class="' + Dial.CSS_CLASSES.labelString + '">{label}</span><span class="' + Dial.CSS_CLASSES.valueString + '"></span></div>';
895 * renders the DOM object for the Dial's label
902 label = contentBox.one("." + Dial.CSS_CLASSES.label);
903 if (!label) {
904 label = Node.create(Y.substitute(Dial.LABEL_TEMPLATE, this.get('strings')));
905 contentBox.append(label);
907 this._labelNode = label;
967 var labelId = Dial.CSS_CLASSES.label + Y.guid(), //get this unique id once then use for handle and label for ARIA
972 handle.setAttribute('aria-labelledby', labelId); // get unique id for specifying a label & handle for ARIA
973 this._labelNode.one('.' + Dial.CSS_CLASSES.labelString).setAttribute('id', labelId); // When handle gets focus, screen reader will include label text when reading the value.
980 * sets the visible UI label HTML string
985 * @deprecated Use DialObjName.set('strings',{'label':'My new label'}); before DialObjName.render();
993 * sets the visible UI label HTML string