🗻
Norska
  • 🗻Welcome !
  • 🛣️Roadmap
  • 🔥Getting Started
    • Installation
    • Introduction
    • Quick Start
  • 🧊Core
    • Canvas
    • Objects
    • Properties
    • Attach
    • Three
    • Primitive
  • ✨Magic properties
    • $i
    • $three
    • $frame
    • $3
    • $math
    • $irefs
    • $load
      • $loaders
  • 🏗️Features
    • Reactivity
    • Conditional rendering
    • Loop
    • Events
  • ⚙️Advanced
    • Configuration
    • Extending Norska
    • Known issues
Powered by GitBook
On this page
  1. Magic properties

$irefs

$irefs is just like Alpine's $refs magic property except it contains the underlying Threejs objects instances of each element with an x-ref directive.

<br x-ref="mesh" x-mesh />
<br x-effect="() => console.log($irefs.mesh)" /> <!-- Log mesh's instance -->

Previous$mathNext$load

Last updated 1 year ago

✨