or, use a soy template for all of this :)


--
Ben Vanik
http://www.noxa.org


On Wed, Jul 10, 2013 at 4:06 PM, Ben Vanik <ben.vanik@gmail.com> wrote:

> just set the properties --- slider.type = 'range', etc
>
>
> --
> Ben Vanik
> http://www.noxa.org
>
>
> On Wed, Jul 10, 2013 at 3:26 PM, Chi Zeng <notifications@github.com>wrote:
>
>> In src/wtf/replay/graphics/ui/rangeseeker.js:
>>
>> > + */
>> > +wtf.replay.graphics.ui.RangeSeeker.prototype.createDom = function(dom) {
>> > +  return /** @type {!Element} */ (goog.soy.renderAsFragment(
>> > +      wtf.replay.graphics.ui.graphicsRangeSeeker.controller,
>> > +      undefined, undefined, dom));
>> > +};
>> > +
>> > +
>> > +/**
>> > + * Creates the slider.
>> > + * @return {!Element} A slider.
>> > + * @private
>> > + */
>> > +wtf.replay.graphics.ui.RangeSeeker.prototype.createSlider_ = function() {
>> > +  var slider = this.domHelper_.createElement('input');
>> > +  slider.setAttribute('type', 'range');
>>
>> Should I use the DomHelper setProperties method instead?
>>
>> —
>> Reply to this email directly or view it on GitHub<https://github.com/google/tracing-framework/pull/366/files#r5129095>
>> .
>>
>
>