');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 | 1 | $325,000 | $322,000 | -$3,000 | -$82,950 | -20.5% | 40 |
May | 6 | $404,900 | $404,950 | +$50 | +$17,450 | +4.5% | 22 |
Apr | 2 | $404,950 | $387,500 | -$17,450 | +$7,600 | +2.0% | 124 |
Mar | 5 | $378,600 | $379,900 | +$1,300 | +$11,000 | +3.0% | 82 |
Feb | 3 | $368,900 | $368,900 | $0 | -$34,700 | -8.6% | 19 |
Jan | 3 | $403,600 | $403,600 | $0 | -$6,150 | -1.5% | 11 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 6 | $409,750 | $409,750 | $0 | -$4,850 | -1.2% | 13 |
Nov | 1 | $414,600 | $414,600 | $0 | +$104,600 | +33.7% | 174 |
Oct | 4 | $329,900 | $310,000 | -$19,900 | -$60,950 | -16.4% | 38 |
Sep | 4 | $376,450 | $370,950 | -$5,500 | +$1,400 | +0.4% | 122 |
Aug | 2 | $389,750 | $369,550 | -$20,200 | -$29,350 | -7.4% | 19 |
Jun | 3 | $398,900 | $398,900 | $0 | +$42,150 | +11.8% | 14 |
May | 4 | $356,750 | $356,750 | $0 | -$30,465 | -7.9% | 24 |
Apr | 4 | $375,900 | $387,215 | +$11,315 | -$1,535 | -0.4% | 13 |
Mar | 2 | $388,750 | $388,750 | $0 | -$5,000 | -1.3% | 33 |
Feb | 10 | $393,750 | $393,750 | $0 | +$88,850 | +29.1% | 12 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Dec | 1 | $304,900 | $304,900 | $0 | -$72,000 | -19.1% | 28 |
Sep | 1 | $376,900 | $376,900 | $0 | -$8,215 | -2.1% | 59 |
Aug | 2 | $381,950 | $385,115 | +$3,165 | $0 | 0% | 26 |