');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 | 7 | $559,900 | $545,000 | -$14,900 | -$14,900 | -2.7% | 24 |
May | 5 | $559,900 | $559,900 | $0 | +$19,900 | +3.7% | 14 |
Apr | 3 | $544,900 | $540,000 | -$4,900 | -$12,500 | -2.3% | 23 |
Mar | 4 | $559,900 | $552,500 | -$7,400 | $0 | 0% | 28 |
Feb | 2 | $562,400 | $552,500 | -$9,900 | -$47,400 | -7.9% | 16 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 1 | $609,900 | $599,900 | -$10,000 | +$114,900 | +23.7% | 120 |
Nov | 1 | $499,900 | $485,000 | -$14,900 | -$44,000 | -8.3% | 64 |
Aug | 1 | $549,000 | $529,000 | -$20,000 | +$11,750 | +2.3% | 39 |
May | 1 | $525,000 | $517,250 | -$7,750 | +$25,250 | +5.1% | 23 |
Mar | 1 | $499,900 | $492,000 | -$7,900 | -$76,000 | -13.4% | 12 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Nov | 1 | $574,900 | $568,000 | -$6,900 | +$28,000 | +5.2% | 21 |
Aug | 1 | $549,900 | $540,000 | -$9,900 | +$12,500 | +2.4% | 21 |
Jun | 2 | $537,900 | $527,500 | -$10,400 | -$22,400 | -4.1% | 47 |
May | 1 | $549,900 | $549,900 | $0 | $0 | 0% | 11 |