$three

Just like its directive counterpart, $three is used to expose the global state of your Threejs application.

<br x-effect="{() => console.log($three.camera)}" /> <!-- Log threejs's camera -->

Last updated