');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 | $579,900 | $569,900 | -$10,000 | -$1,800 | -0.3% | 28 |
May | 6 | $572,650 | $571,700 | -$950 | +$1,700 | +0.3% | 45 |
Apr | 7 | $579,900 | $570,000 | -$9,900 | +$10,000 | +1.8% | 31 |
Mar | 5 | $565,000 | $560,000 | -$5,000 | -$19,500 | -3.4% | 32 |
Feb | 4 | $567,450 | $579,500 | +$12,050 | +$24,500 | +4.4% | 18 |
Jan | 3 | $555,000 | $555,000 | $0 | -$42,000 | -7.0% | 27 |
Month | # Sales | Avg List | Avg Sold | Above/Below | Change ($) | Change (%) | Avg Days |
Oct | 3 | $599,900 | $597,000 | -$2,900 | -$3,000 | -0.5% | 29 |
Sep | 6 | $609,900 | $600,000 | -$9,900 | $0 | 0% | 7 |
Aug | 1 | $600,000 | $600,000 | $0 | +$10,000 | +1.7% | 35 |
Jul | 3 | $599,000 | $590,000 | -$9,000 | +$134,250 | +29.5% | 74 |
Jun | 2 | $462,000 | $455,750 | -$6,250 | -$129,750 | -22.2% | 45 |
May | 2 | $584,500 | $585,500 | +$1,000 | +$1,000 | +0.2% | 10 |
Apr | 2 | $602,000 | $584,500 | -$17,500 | +$10,500 | +1.8% | 33 |
Mar | 1 | $589,000 | $574,000 | -$15,000 | $0 | 0% | 7 |