@wardic/foldkit
Effect-typed: this package uses Effect's own types, so it moves to a new Effect major only in a Wardic major (the roadmap).
Wardic for Foldkit: Motion's animations on Foldkit's views, as Effect, through one Handle whose builder makes the w.* elements. Each module is @wardic/foldkit/<Module>, and each page is generated from its source's doc comments.
| Module | |
|---|---|
| AnimationControls | Animation controls on Foldkit: made apart from any element with make, at module scope or in the Model's making, and given to any number of w.* elements as w.Animate(controls) (the bundle's animate too). |
| AnimationScope | Animation scopes on Foldkit: made apart from any element with make, at module scope or in the Model's making, and given to one w.* element as w.AnimationScope(scope) (the bundle's animationScope too). |
| DragControls | Drag controls on Foldkit: made apart from any element with make, at module scope or in the Model's making, and given to a w.* element as w.DragControls(controls). |
| Features | The Features a Handle takes: Wardic.make({ env, features: [Features.layout, Features.presence] }), or a preset, features: Features.domAnimation, or a load, features: () => import("./features.ts").then((m) => m.domMax). |
| Ward | A Ward on Foldkit: the types of what a w.* element and the w.attributes bundle take. |
| Wardic | Wardic for Foldkit: a Handle made once per program with make, whose html(h) gives a view the builder w. |