Q inplace Class
Inplace text editor tool
Constructor
Q inplace
    
        - 
                    
                        [options]
Parameters:
- 
                    
                        [options]Object optionalThis is an object of parameters for this function - 
                                
                                    actionStringRequired url of the action to issue the request to on save. 
- 
                                
                                    [method='put']String optionalThe HTTP verb to use. 
- 
                                
                                    [type='textarea']String optionalThe type of the input field. Can be "textarea", "text", or "select" 
- 
                                
                                    [options={}]String optionalIf the type is "select", then this would be an object of {value: optionTitle} pairs 
- 
                                
                                    [editing]Boolean=true optionalWhether to start out in editing mode 
- 
                                
                                    [editOnClick]Boolean=true optionalWhether to enter editing mode when clicking on the text. 
- 
                                
                                    [selectOnEdit=true]Boolean optionalWhether to select everything in the input field when entering edit mode. 
- 
                                
                                    [showEditButtons=false]Boolean=true optionalSet to true to force showing the edit buttons on touchscreens 
- 
                                
                                    [maxWidth=null]Number optionalThe maximum width that the field can grow to 
- 
                                
                                    [minWidth=100]Number optionalThe minimum width that the field can shrink to 
- 
                                
                                    [staticHtml]String optionalThe static HTML to start out with 
- 
                                
                                    [placeholder=null]String optionalText to show in the staticHtml or input field when the editor is empty 
- 
                                
                                    [template]Object optionalCan be used to override info for the tool's view template. 
- 
                                
                                    [beforeSave]Q.Event optionalThis event triggers before save 
- 
                                
                                    [onSave]Q.Event optionalThis event triggers after save 
- 
                                
                                    [onCancel]Q.Event optionalThis event triggers after canceling 
 
- 
                                
                                    
Item Index
Methods
Methods
hideActions
    
        ()
    
    
    
    
    
    
    
    
    
    Hide Q/actions, if any
restoreActions
    
        ()
    
    
    
    
    
    
    
    
    
    Restore Q/actions, if any