');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 | 9 | $394,900 | $405,000 | +$10,100 | -$175,000 | -30.2% | 20 |
May | 6 | $593,450 | $580,000 | -$13,450 | +$198,500 | +52.0% | 33 |
Apr | 5 | $384,900 | $381,500 | -$3,400 | -$18,500 | -4.6% | 20 |
Mar | 5 | $405,000 | $400,000 | -$5,000 | +$73,000 | +22.3% | 28 |
Feb | 3 | $334,000 | $327,000 | -$7,000 | -$48,000 | -12.8% | 56 |
Jan | 2 | $393,900 | $375,000 | -$18,900 | -$24,900 | -6.2% | 46 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 7 | $399,900 | $399,900 | $0 | -$199,550 | -33.3% | 71 |
Nov | 2 | $599,450 | $599,450 | $0 | +$69,450 | +13.1% | 93 |
Oct | 1 | $539,500 | $530,000 | -$9,500 | +$153,000 | +40.6% | 7 |
Jun | 1 | $389,000 | $377,000 | -$12,000 | -$108,000 | -22.3% | 36 |
May | 2 | $499,950 | $485,000 | -$14,950 | +$120,000 | +32.9% | 59 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Jul | 1 | $339,900 | $365,000 | +$25,100 | -$67,000 | -15.5% | 13 |
Jun | 2 | $457,900 | $432,000 | -$25,900 | $0 | 0% | 48 |