Class: Decidim::Map::Frontend::Builder
- Inherits:
 - 
      Object
      
        
- Object
 - Decidim::Map::Frontend::Builder
 
 
- Defined in:
 - lib/decidim/map/frontend.rb
 
Overview
A general builder for any functionality needed for the views. Provides all the necessary functionality to display and initialize the front-end elements related to the given map utility.
Direct Known Subclasses
Instance Method Summary collapse
- 
  
    
      #append_assets  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Automatically append the javascript and the stylesheet assets for the map element.
 - 
  
    
      #initialize(template, options)  ⇒ Builder 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Initializes the map builder instance.
 
Constructor Details
#initialize(template, options) ⇒ Builder
Initializes the map builder instance.
      44 45 46 47  | 
    
      # File 'lib/decidim/map/frontend.rb', line 44 def initialize(template, ) @template = template @options = end  | 
  
Instance Method Details
#append_assets ⇒ Object
Automatically append the javascript and the stylesheet assets for the map element.
      51  | 
    
      # File 'lib/decidim/map/frontend.rb', line 51 def append_assets; end  |