@tur-ng/std 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.d.ts +4 -3
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -87,9 +87,10 @@ declare module "tur:std" {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/** Engine-owned reactive atom holding the live canvas size
|
|
90
|
-
* (`{width, height}` in CSS pixels).
|
|
91
|
-
*
|
|
92
|
-
* `
|
|
90
|
+
* (`{width, height}` in CSS pixels). Published by the engine on every
|
|
91
|
+
* resize (readable through any store of the instance); import from
|
|
92
|
+
* `tur:std`. Read-only to app code — typed as a `Derived` so
|
|
93
|
+
* `set(viewportSize$, …)` is rejected at compile time. */
|
|
93
94
|
export const viewportSize$: Derived<ViewportSize>;
|
|
94
95
|
|
|
95
96
|
/** OS cursor keywords (CSS cursor names). Mirrors `tur_engine::core::platform::Cursor`. */
|