From 39facfd6212a35e61e8002ed7736caf224bbbb55 Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Fri, 29 Mar 2019 21:43:20 -0700 Subject: [PATCH] Bump docs. --- API.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index 096e60a..8d18170 100644 --- a/API.md +++ b/API.md @@ -48,6 +48,8 @@ manipulate variables and fire functions on the fly. * [.removeFolder(folder)](#GUI+removeFolder) * [.open()](#GUI+open) * [.close()](#GUI+close) + * [.hide()](#GUI+hide) + * [.show()](#GUI+show) * [.getRoot()](#GUI+getRoot) ⇒ dat.gui.GUI * [.getSaveObject()](#GUI+getSaveObject) ⇒ Object @@ -62,7 +64,7 @@ manipulate variables and fire functions on the fly. | [params.load] | Object | | JSON object representing the saved state of this GUI. | | [params.parent] | dat.gui.GUI | | The GUI I'm nested in. | | [params.autoPlace] | Boolean | true | | -| [params.hideable] | Boolean | true | If true, GUI is closed by the h keypress. | +| [params.hideable] | Boolean | true | If true, GUI is shown/hidden by h keypress. | | [params.closed] | Boolean | false | If true, starts closed | | [params.closeOnTop] | Boolean | false | If true, close/open button shows on top of the GUI | @@ -252,6 +254,18 @@ Opens the GUI. ### gui.close() Closes the GUI. +**Kind**: instance method of [GUI](#GUI) + + +### gui.hide() +Hides the GUI. + +**Kind**: instance method of [GUI](#GUI) + + +### gui.show() +Shows the GUI. + **Kind**: instance method of [GUI](#GUI)