Closed usernotnull closed 2 years ago
This will add go-spotlight and prefill-spotlight listeners which complement toggle-spotlight
go-spotlight
prefill-spotlight
toggle-spotlight
Sample use case:
@click="$dispatch('toggle-spotlight'); $dispatch('go-spotlight', {{ md5(Spotlight\ViewUserCommand::class) }}'); $dispatch('prefill-spotlight', 'john');"
If for example, the user wants to search for articles and doesn't want to see the whole list of available commands, this will quickly take him there.
This will add
go-spotlight
andprefill-spotlight
listeners which complementtoggle-spotlight
Sample use case:
If for example, the user wants to search for articles and doesn't want to see the whole list of available commands, this will quickly take him there.