new FaqRouter(faq) → {Object}
FAQ - Faq Router Class
Parameters:
| Name | Type | Description | 
|---|---|---|
| faq | Object | The mathex.Faq instance | 
- Source:
- mathex/res-otto/js/mathex.js, line 1469
 
Returns:
    mathex.Faq instance
- Type
- Object
Methods
- 
    goto(index, layer)Moves to another faq 
- 
    
    
    
    
    
    
    
        Parameters:Name Type Argument Description indexNumber The index of the faq to go to layerString <optional> 
 Whether to show the faq over a layer (if its value is 'layer') or not - Source:
- mathex/res-otto/js/mathex.js, line 1603
 
 Returns:void
- 
    renderFaq(index)Renders one single faq (question, answer) 
- 
    
    
    
    
    
    
    
        Parameters:Name Type Description indexNumber the index of the faq to be rendered - Source:
- mathex/res-otto/js/mathex.js, line 1512
 
 Returns:void
- 
    renderIndex()Renders the faq index 
- 
    
    
    
    
    
    
    
    
    
- Source:
- mathex/res-otto/js/mathex.js, line 1487
 
 Returns:void
- 
    start()Starts the execution of the faq 
- 
    
    
    
    
    
    
    
    
    
- Source:
- mathex/res-otto/js/mathex.js, line 1471
 
 Returns:void