Skip to content

Commit dab0c58

Browse files
committed
EN,CZ : How to close sidebar on mobile devices
1 parent 55286bb commit dab0c58

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cs/puiButton.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ Plugins.catalogize(puiButtonFullScreen);
5656
this.button.classList.add(C_HIDDENCPRESMODE);
5757
```
5858

59+
### Scénář: Zavření bočního panelu pouze na mobilním zažízení
60+
61+
```javascript
62+
sendEvent(evtHideIfTooWide);
63+
```
64+
5965
[ButtonSend]: :_evt:ButtonSend.md "ButtonSend"
6066
[ClickedEvent]: :_evt:ClickedEvent.md "ClickedEvent"
6167
[puiButton]: :_plg:puiButton.md "puiButton"

en/puiButton.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ Plugins.catalogize(puiButtonFullScreen);
5656
this.button.classList.add(C_HIDDENCPRESMODE);
5757
```
5858

59+
### Scenario: Closing the side panel only on mobile devices
60+
61+
```javascript
62+
sendEvent(evtHideIfTooWide);
63+
```
64+
5965
[ButtonSend]: :_evt:ButtonSend.md "ButtonSend"
6066
[ClickedEvent]: :_evt:ClickedEvent.md "ClickedEvent"
6167
[puiButton]: :_plg:puiButton.md "puiButton"

0 commit comments

Comments
 (0)