You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ module system it is exported as `GraphQLVoyager` global variable.
37
37
+`displayOptions.sortByAlphabet`[`boolean`, default `false`] - sort fields on graph by alphabet
38
38
+`displayOptions.showLeafFields`[`boolean`, default `true`] - show all scalars and enums
39
39
+`displayOptions.hideRoot`[`boolean`, default `false`] - hide the root type
40
+
+`onDisplayOptionsChange`[function: `(displayOptions) => void`]_(optional)_ - called when user change displayOptions with UI. Can be used to save settings into localstorage or query params
40
41
+`hideDocs`[`boolean`, default `false`] - hide the docs sidebar
0 commit comments