Constructor
new CategoryWidget(config)
- Source:
 
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config | 
            
            Object | Configuration object Properties
  | 
        
Extends
Methods
(protected) format() → {Object}
- Source:
 - Overrides:
 
Processes the widget value and returns a human friendly version.
Returns:
- Current widget value prepared to be shown
 
- Type
 - Object
 
(protected) parseResponse(value)
- Source:
 - Overrides:
 
Parses data fetched from server and sets widget value to an easily readable format
Parameters:
| Name | Type | Description | 
|---|---|---|
value | 
            
            Object | JSON data fetched from server  | 
        
refresh()
- Source:
 - Inherited From:
 
Reloads the widget value using the formatted value.