');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 | 5 | $589,900 | $570,000 | -$19,900 | -$135,000 | -19.1% | 11 |
May | 1 | $715,000 | $705,000 | -$10,000 | +$105,000 | +17.5% | 230 |
Apr | 2 | $612,450 | $600,000 | -$12,450 | -$70,000 | -10.4% | 97 |
Mar | 1 | $670,000 | $670,000 | $0 | +$70,000 | +11.7% | 179 |
Feb | 1 | $600,000 | $600,000 | $0 | +$235,000 | +64.4% | 58 |
Jan | 1 | $375,000 | $365,000 | -$10,000 | -$318,000 | -46.6% | 74 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 2 | $714,900 | $683,000 | -$31,900 | +$78,500 | +13.0% | 83 |
Nov | 3 | $609,000 | $604,500 | -$4,500 | -$64,750 | -9.7% | 72 |
Oct | 4 | $689,500 | $669,250 | -$20,250 | +$309,250 | +85.9% | 33 |
Sep | 2 | $370,000 | $360,000 | -$10,000 | -$242,500 | -40.2% | 49 |
Aug | 2 | $612,450 | $602,500 | -$9,950 | +$342,500 | +131.7% | 37 |
Jul | 2 | $482,200 | $260,000 | -$222,200 | -$316,500 | -54.9% | 59 |
Jun | 2 | $587,400 | $576,500 | -$10,900 | +$246,500 | +74.7% | 63 |
May | 1 | $349,900 | $330,000 | -$19,900 | -$210,000 | -38.9% | 91 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Nov | 1 | $559,000 | $540,000 | -$19,000 | -$40,000 | -6.9% | 43 |
Apr | 1 | $579,000 | $580,000 | +$1,000 | $0 | 0% | 51 |