Preview
Handles the graphql voyager preview window
- Source:
Extends
- React.Component
Methods
componentDidUpdate(nextProps)
Called after everytime preview window's checkbox tree gets updated
Parameters:
| Name | Type | Description |
|---|---|---|
nextProps |
Object | new props |
- Source:
getGraphQL(translationFile)
Generate the graphql schema
Parameters:
| Name | Type | Description |
|---|---|---|
translationFile |
Object | the translation file |
- Source:
initChecked()
Initalize the checkbox tree nodes checked states
- Source:
Returns:
array of checked nodes
initNodes()
Initalize the checkbox tree nodes
- Source:
Returns:
array of nodes
onCheckHandler(newChecked)
Handle new checked nodes
Parameters:
| Name | Type | Description |
|---|---|---|
newChecked |
Array | array of the newly checked nodes |
- Source: