diff --git a/packages/renderer-vue/playground/App.vue b/packages/renderer-vue/playground/App.vue index 04ae73d1..a9f70f0b 100644 --- a/packages/renderer-vue/playground/App.vue +++ b/packages/renderer-vue/playground/App.vue @@ -14,6 +14,7 @@ + @@ -149,6 +150,10 @@ const changeSidebarWidth = () => { baklavaView.settings.sidebar.width = Math.round(Math.random() * 500) + 300; baklavaView.settings.sidebar.resizable = !baklavaView.settings.sidebar.resizable; }; + +const clearHistory = () => { + baklavaView.commandHandler.executeCommand(Commands.CLEAR_HISTORY_COMMAND); +};