Add Built-in Motion Engine (Beta)
By AmmarBasha2011
Assigned to
I've implemented a new JavaScript-based motion engine for applying CSS animations. Key features: - `animate(elementOrSelector, animationName, durationMs)` JS function in `public/JS/motion_engine.js`. - CSS animations defined in `public/css/motion-animations.css` (includes a sample `fade-in`). - Controlled by `USE_ANIMATE` environment variable in `.env` (default true). - Automatically loads JS/CSS files via `core/functions/PHP/getPage.php` when enabled. - The old PHP `animate()` function in `core/functions/PHP/animate.php` is now deprecated. - I've added comprehensive documentation to `README.md`, noting the feature's beta status.
Labeled:
May 26, 2025 at 08:46AM
via GitHub https://ift.tt/u4t8yKo
By AmmarBasha2011
Assigned to
I've implemented a new JavaScript-based motion engine for applying CSS animations. Key features: - `animate(elementOrSelector, animationName, durationMs)` JS function in `public/JS/motion_engine.js`. - CSS animations defined in `public/css/motion-animations.css` (includes a sample `fade-in`). - Controlled by `USE_ANIMATE` environment variable in `.env` (default true). - Automatically loads JS/CSS files via `core/functions/PHP/getPage.php` when enabled. - The old PHP `animate()` function in `core/functions/PHP/animate.php` is now deprecated. - I've added comprehensive documentation to `README.md`, noting the feature's beta status.
Labeled:
May 26, 2025 at 08:46AM
via GitHub https://ift.tt/u4t8yKo