diff --git a/config/wire-spy.php b/config/wire-spy.php index 1d83eaa..cb7c4e2 100644 --- a/config/wire-spy.php +++ b/config/wire-spy.php @@ -16,4 +16,12 @@ * - Combine with other keys using dot notation, like 'super.l' for 'Cmd+L' or 'Ctrl+L'. */ 'keybinding' => 'super.l', + + + /** + * By default WireSpy can only be triggered by keyboard shortcuts. + * If you need to trigger the panel's visibility by a button either set the WIRE_SPY_BUTTON_ENABLED to true + * in your .env file or publish the config file and set the value to true. + */ + 'button_enabled' => env('WIRE_SPY_BUTTON_ENABLED', false), ]; diff --git a/resources/views/toolbar.blade.php b/resources/views/toolbar.blade.php index 21b1dc5..4e7058e 100644 --- a/resources/views/toolbar.blade.php +++ b/resources/views/toolbar.blade.php @@ -1,4 +1,4 @@ -