Class: Spotlight::IconComponent
- Inherits:
 - 
      Blacklight::Icons::IconComponent
      
        
- Object
 - Blacklight::Icons::IconComponent
 - Spotlight::IconComponent
 
 
- Defined in:
 - app/components/spotlight/icon_component.rb
 
Overview
Displays the document
Direct Known Subclasses
Blacklight::Icons::ArrowAltCircleLeftComponent, Blacklight::Icons::ArrowAltCircleRightComponent, Blacklight::Icons::ArrowBackIosComponent, Blacklight::Icons::ArrowForwardIosComponent, Blacklight::Icons::CheckCircleComponent, Blacklight::Icons::CheckComponent, Blacklight::Icons::ChevronRightComponent, Blacklight::Icons::CloseComponent, Blacklight::Icons::EditComponent, Blacklight::Icons::ErrorComponent, Blacklight::Icons::HighlightOffComponent, Blacklight::Icons::InfoComponent, Blacklight::Icons::WarningComponent, Blacklight::Icons::ZoomInComponent, Blacklight::Icons::ZoomOutComponent
Instance Method Summary collapse
- 
  
    
      #classes  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Work around github.com/projectblacklight/blacklight/issues/3232 (fixed in Blacklight 7.39).
 
Instance Method Details
#classes ⇒ Object
Work around github.com/projectblacklight/blacklight/issues/3232 (fixed in Blacklight 7.39)
      8 9 10  | 
    
      # File 'app/components/spotlight/icon_component.rb', line 8 def classes ((@classes || (super if defined?(super)) || []) - ['blacklight-icons-'] + ["blacklight-icons-#{name}"]).uniq end  |