state function
The element's `data-dio-state`.
import { state } from '@dioramajs/effects/testing'function state(element: Element): string | nullParameters
| Name | Type | Description |
|---|---|---|
element | Element |
Defined in packages/effects/src/testing/gpu.ts.
Diorama
Made for a big screen.
This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.
The element's `data-dio-state`.
import { state } from '@dioramajs/effects/testing'function state(element: Element): string | null| Name | Type | Description |
|---|---|---|
element | Element |
Defined in packages/effects/src/testing/gpu.ts.