Livewire security. how to trigger functions?

What seems to be the problem:
I have read in the forum it is possible to trigger function from the browser console. How can it be achieved? what do I need to type to trigger the livewire functions?

Are you using the latest version of Livewire:
yes

Hey, @Frederico

Try to access the function with

window.livewire.[method]

if you want to access a specific component you can do it by

window.livewire.find('component-id').[method]