From ee590b06452fb29e962c98fbd95d0babf0c97297 Mon Sep 17 00:00:00 2001 From: REJack Date: Mon, 21 Sep 2020 09:32:01 +0200 Subject: [PATCH] update control-sidebar methods in docs --- docs/javascript/control-sidebar.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/javascript/control-sidebar.md b/docs/javascript/control-sidebar.md index 718c66a7c..9ec14c656 100644 --- a/docs/javascript/control-sidebar.md +++ b/docs/javascript/control-sidebar.md @@ -61,3 +61,17 @@ $("#my-toggle-button").ControlSidebar('toggle'); {: .table .table-bordered .bg-light} Example: `$('#toggle-button').on('expanded.lte.controlsidebar', handleExpandedEvent)` + + +##### Methods +{: .mt-4} + +|--- +| Method | Description +|-|- +|collapse | Collapses the control-sidebar +|show | Show's the control-sidebar +|toggle | Toggles the state of the control-sidebar expanded and collapsed +{: .table .table-bordered .bg-light} + +Example: `$('#toggle-button').ControlSidebar('toggle')`