');a_a.href=item_config.url_add;elements.push(a_a)}if(has.remove){const a_r=__new('a',['svg-icon','ddl-remove'],null,'');a_r.href=item_config.url_remove;elements.push(a_r)}if(has_value(item_config.url)){const a_t=create('a',['title'],null,item_config.text);a_t.href=item_config.url;if(!has.add &&!has.remove){a_t.add_class('single');}elements.push(a_t);}item.option=div(null,elements);}break;}this.el.titles.items.push(item.title);this.el.options.items.push(item.option);}this.items.push(item);}if(config.clear &&(is_string(config.clear.url))){this.el.clear=create('a',['svg-icon','clear'],null,' ');this.el.clear.href=config.clear.url;}this.el.container=div(['drop-down-list'],[this.el.titles.container=div(null,this.el.titles.items),this.el.options.container=div(['scrollable'],[div(['options'],this.el.options.items)]),this.el.clear]);switch(this.type){case DropDownList.TYPE.CHECKLIST:{this.el.container.__add_class('checklist');}break;}this.set_events();this.select();this.auto_size();}select(index){if(!is_finite(index)){index=this.selected_index;}if(index<0){index=0;}if(index>=this.el.titles.items.length){index>=this.el.titles.items.length-1;}this.selected_index=index;this.el.titles.items[this.selected_index].add_class('active');this.el.options.items[this.selected_index].add_class('active');}auto_size(){setTimeout(()=>{this.el.options.container.on_event('wheel',e=>e.stopPropagation());if(this.el.options.items.length>10){this.el.options.container.add_class('long');this.el.options.container.style.height=this.el.options.items[10].offsetTop+'px';}},1000);}set_events(){['mousemove','mousedown','mouseup','click'].forEach((ev)=>{this.el.container.on_event(ev,e=>{e.stopPropagation();});});this.el.titles.container.on_event('click',()=>{this.el.container.toggle_class('close');});this.el.container.on_event('mouseleave',()=>{this.el.container.remove_class('close');});}clear_active(){this.el.container.$$('div > .active').forEach(e=>{e.remove_class('active');});}close(){this.el.container.add_class('close');setTimeout(()=>{this.el.container.remove_class('close');},100);}}
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Jun | 2 | $689,900 | $674,950 | -$14,950 | +$179,950 | +36.4% | 106 |
May | 1 | $499,900 | $495,000 | -$4,900 | -$105,575 | -17.6% | 26 |
Jan | 1 | $599,900 | $600,575 | +$675 | +$600,576 | -60,057,600.0% | 8 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 1 | $649,900 | ($1) | -$649,901 | -$635,001 | -100.0% | 149 |
Jul | 1 | $645,000 | $635,000 | -$10,000 | -$54,000 | -7.8% | 2 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 1 | $699,633 | $689,000 | -$10,633 | +$1,923 | +0.3% | 27 |
Mar | 1 | $595,900 | $687,077 | +$91,177 | +$222,077 | +47.8% | 6 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Nov | 1 | $465,000 | $465,000 | $0 | -$155,000 | -25.0% | 34 |
Oct | 1 | $624,900 | $620,000 | -$4,900 | +$200,000 | +47.6% | 3 |
Sep | 1 | $420,000 | $420,000 | $0 | $0 | 0% | 22 |