');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 | 3 | $545,000 | $560,000 | +$15,000 | +$220,100 | +64.8% | 20 |
May | 5 | $349,900 | $339,900 | -$10,000 | -$13,311 | -3.8% | 73 |
Apr | 3 | $349,000 | $353,211 | +$4,211 | -$102,789 | -22.5% | 33 |
Feb | 2 | $460,000 | $456,000 | -$4,000 | +$145,000 | +46.6% | 57 |
Jan | 6 | $326,950 | $311,000 | -$15,950 | -$139,000 | -30.9% | 115 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 2 | $482,450 | $450,000 | -$32,450 | -$145,000 | -24.4% | 8 |
Oct | 1 | $649,900 | $595,000 | -$54,900 | +$290,000 | +95.1% | 65 |
Jun | 1 | $310,000 | $305,000 | -$5,000 | -$105,000 | -25.6% | 40 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Aug | 1 | $419,900 | $410,000 | -$9,900 | +$65,000 | +18.8% | 47 |
Jul | 1 | $349,000 | $345,000 | -$4,000 | +$30,000 | +9.5% | 28 |
Jun | 1 | $319,900 | $315,000 | -$4,900 | -$50,000 | -13.7% | 93 |
Apr | 1 | $365,000 | $365,000 | $0 | -$221,750 | -37.8% | 77 |
Feb | 2 | $594,000 | $586,750 | -$7,250 | +$166,750 | +39.7% | 140 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 1 | $449,900 | $420,000 | -$29,900 | $0 | 0% | 147 |