private function generateClass()
    {
        $class[] = 'icon-bar';
        
        if($this->iconsUp === 0){
            $class[] = $this->getCountUp(count($this->icons['items']));
        }else{
            $class[] = $this->getCountUp($this->iconsUp);
        }
        
        if($this->direction != 'horizontal'){
            $class[] = $this->direction;
        }
        
        if($this->labelRight){
            $class[] = 'label-right';
        }
        
        return implode(" ", $class);
    }